Legalizing marijuana is blowing the generation gap wide open.

By an overwhelming 83 to 14 percent, New Yorkers aged 18 to 29 support making pot legal in small amounts for personal use, a Quinnipiac University poll released Monday shows.

But folks over 65 – who lived the marijuana revolution of the 1960s – oppose legal weed 57 to 38 percent.

The poll found New Yorkers as a whole back legalization 57 to 39 percent, but women have greater doubts.

Men are more receptive to approving recreational weed: 63 percent say yes and 33 percent say no – while 51 percent of women approve and 44 percent are against.

Sixty five percent of Democrats and 58 percent of independents back legal pot while Republicans are opposed by 55 to 39 percent.

But there are limits even among the pot faithful.

Sixty-three percent said they would feel “very uncomfortable” riding in a car driven by someone who had consumed a “moderate” amount of marijuana.

The poll demonstrated that the debate over pot has advanced beyond allowing marijuana for medical use.

New Yorkers now back medical marijuana by 88 to 9 percent, and there is overwhelming support in every group, the poll showed.

A majority New Yorkers – 51 percent – deny they’ve ever smoked a joint, while 46 percent said they’ve indulged at least once.