Lottery officials said the winning ticket from Tuesday night's drawing - worth $24 million - was sold in Maryland.
In addition to the grand prize winner, three tickets matched all five numbers but not the Mega Ball number. They will receive second prizes of $250,000 each.
Another 21 tickets matched four numbers, plus the Mega Ball number - good for third prizes of $10,000 each.
The winning numbers from Tuesday night's drawing were: 22, 23, 28, 49 and 52. The Mega Ball number was 2.
The multi-state Mega Millions lottery is played in New Jersey and 11 other states.