WASHINGTON - The United States fell one spot to third place in clean-energy investment last year as the lack of a national energy policy hurt purchases in wind and solar power and other technologies, a report said on Tuesday.

China came in first and Germany second, according to the report “Who’s Winning the Clean Energy Race” by the Pew Charitable Trusts, an independent, nonprofit group.

In the previous year the United States had fallen from the top spot to second place, behind China.

A comprehensive energy bill died in the US Senate last July. Washington also has failed to pass national mandates for utilities to produce minimum amounts of clean power that environmentalists and some analysts say would boost confidence for alternative energy companies to invest in the country.

Private investment in US clean energy totaled $34 billion last year, the report said. That was up 51 percent from the previous year but below the $54.4 billion invested in China and the $41.2 billion invested in Germany.

China and Germany have minimum clean-energy targets that helped them move ahead, Pew said.

“There had been a theory out there that China was rising so fast in clean energy because of its low labor costs,” Jennifer Granholm, a former Michigan governor and adviser to Pew, said in an interview. “This is not about labor costs. This is about policy.”

Germany has had a long history of using feed-in tariffs to spur solar power and other alternative energy. Last year the prospect of reductions in the tariffs, under which renewable-power generators are paid a premium price for the electricity they produce, helped spur dramatic growth in solar, especially in small-scale rooftop projects.

Overall investments in clean energy, excluding research and development funding, in the Group of 20 major economies rose 33 percent last year to $198 billion amid recovery from recession, the report said.

The United States did show some bright spots. It led the world in energy efficiency with $3.3 billion in investment.

It also still led the world in venture capital and private equity investments in clean energy, which globally counted for $8.1 billion, up 27 percent from the year before.

President Barack Obama said after the comprehensive energy bill failed last year US energy policy would get done in smaller chunks. He wants to double US clean energy output — including from natural gas and nuclear power — with a proposed mandate known as the Clean Energy Standard. Obama will outline a plan for US energy security in a speech on Wednesday.

Granholm said increasingly China and other countries developed and distributed ideas generated by the US venture capital system. Alternative-energy firms prefer setting up manufacturing and distribution plants in countries that have national incentives.

About 30 US states have passed their own so-called renewable portfolio standards, which set mandates for minimum amounts of power from alternatives. But often they are surrounded by states that lack the mandates, which discourages investment, Granholm said.