Middlesex will take on Derbyshire in a Pro40 fixture on September 10 in what MCC secretary and chief executive Keith Bradshaw calls an "historic occasion".
"MCC is delighted to be hosting its first floodlit match at Lord's," Bradshaw said.
"We are pleased that Westminster
"This will be an historic match for all concerned, which I'm sure will prove popular with members and public alike."
The Marylebone Cricket Club (MCC), the custodian of the laws of the game, was founded in 1787 and has been based at Lord's in north west London since 1814.