The EuroMillions Millionaire Raffle ticket was bought in Fife on July 23 and the £1 million remained unclaimed for more than 180 days.
The winner had not come forward by the 11pm deadline yesterday and the prize has now been passed to the National Lottery Good Causes, along with the interest it has earned.
A National Lottery spokesman said: "The ticket-holder did not come forward within the deadline to claim their prize and has now sadly missed out on this substantial amount of money. To avoid this situation happening again, I would urge all players to check their tickets on a regular basis.
"We tried very hard to find the ticket-holder and it's a real shame that they have missed out, but there is still one winner - the nation.
"This money, and all the interest earned over the 180 days, will now go to benefit projects funded by The National Lottery."
The unclaimed prize from Fife will be added to the £31 billion that has already been raised since 1994 to help more than 420,000 projects across the arts, sports, heritage, charities, health, education and the environment.
Two other lottery winners, one from Fife and one from East Dunbartonshire, have two days left to claim the prizes that would make them millionaires. They each won £1m in the July 26 draw and have until 11pm tomorrow to claim their money. The winning raffle numbers are CZZ474287 and CBT475280.
Anyone who believes they have a winning ticket should call the National Lottery Line on 0845 910 0000.