Democratic strategists are studying a California marijuana-legalization initiative to see if similar ballot measures could energize young, liberal voters in swing states for the 2012 presidential election.

Some pollsters and party officials say Democratic candidates in California are benefiting from a surge in enthusiasm among young voters eager to back Proposition 19, which would legalize marijuana in certain quantities and permit local governments to regulate and tax it.

Party...