BEIJING — The Beijing government put in place emergency measures on Wednesday to try to combat thick smog that has encased the city, which the Communist Party has hailed as a showcase capital, in brown and gray soot. The measures include temporarily shutting down more than 100 factories and ordering one-third of government vehicles off the streets, according to official news reports.

The effort came on the second straight day of air that was rated “hazardous” by the standards of the United States Environmental Protection Agency. That rating, in which the air quality index surpasses 300, means people should not venture outdoors at all. This month, Beijing has faced the most polluted air days on recent record. The surge in pollution, which is happening across northern China, has angered residents and led the state news media to report more openly on air quality problems.

Officials have also begun acknowledging the severity of the problem. Xinhua, the state news agency, reported that Wang Anshun, the newly appointed mayor of Beijing, said Monday that the government had come up with a preliminary plan to curb the pollution.

“I hope we can have blue skies, clean water, less traffic and a more balanced education system,” Mr. Wang said at a session of the municipal legislature, in a broad reference to quality-of-life issues.

Mr. Wang also told lawmakers that “the current environmental problems are worrisome.” He said the number of vehicles in Beijing should be allowed to increase, but slowly. The Xinhua report said there were about 5.18 million vehicles in Beijing, compared with 3.13 million in early 2008.

Mr. Wang told the legislature on Jan. 22 that the Beijing government was aiming to cut the density of major air pollutants by 2 percent this year. To that end, officials are ordering 180,000 older vehicles off the roads, promoting the use of “clean energy” for government vehicles and heating systems, and growing trees over 250 square miles of land in the next five years, Xinhua reported.

Prime Minister Wen Jiabao also addressed the pollution issue at seminars on economic development in the past week, Xinhua said. It reported that Mr. Wen said efforts should be made to “optimize industrial structure, promote energy saving and emission reduction, and advance ecological progress.”

In the past three decades, China has adopted a growth-at-any-cost attitude to build its economy, and the resulting environmental damage is now widespread and severe. Analysts say it will take years to clean up the air in northern China, even if serious measures are taken now.

Image

Cans of so-called fresh air given out by an entrepreneur to raise awareness.CreditBarry Huang/Reuters

Beijing sits in the middle of an industrial belt of coal-burning factories, and there is little incentive for officials or executives to slow down work there. Traditionally, officials’ performance ratings have been closely tied to economic growth and the maintenance of stability. In recent years, some policy makers have urged that a measure of environmentalism be taken into account.

The United States Energy Information Administration released a report on Tuesday that said China now accounts for 47 percent of global coal consumption, almost equal to all other countries in the world combined. Coal consumption in China grew by more than 9 percent in 2011, or 325 million tons, which equaled 87 percent of the total global rise in coal use.

The report said the heavy demand for coal was because of an increase of more than 200 percent in electricity generation since 2000. China’s demand for coal grew an average of 9 percent a year from 2000 to 2010. If China were excluded from measurements of global growth during that time, the average annual growth would have been only 1 percent, the report said.

On Tuesday morning, the air quality index, as measured by a device atop the United States Embassy in central Beijing, reached 517, which was so high that the rating was labeled “beyond index” on an embassy Twitter account, @BeijingAir. (Once before, the account had labeled a rating of more than 500 “crazy bad,” but embassy officials quickly deleted that tweet.) Index readings on a Web site run by the Beijing government had similar numbers.

The indexes are based primarily on measurements of a potentially deadly particulate matter called PM 2.5. In mid-January, some monitoring devices set up by the government in the Beijing municipality, which includes more than 20 million people, recorded PM 2.5 concentrations of nearly 1,000 micrograms per cubic meter, which was on par with some severely polluted days in industrial London during the mid-20th century.

Beijing announced in early 2012 that it would report PM 2.5 levels, in response to an outcry from residents demanding the information. A total of 74 Chinese cities are supposed to release that data this year. Among the prominent voices calling for greater disclosure is Pan Shiyi, a real estate tycoon.

This week, Mr. Pan has asked the 14 million followers of his microblog whether China should adopt a “clean air act” that would be much stronger than current laws. As of Wednesday afternoon, 99 percent of the more than 42,000 replies had voted in favor of the act.

“In order to control air pollution, we need everyone to participate,” Mr. Pan wrote. “The most important thing is legislation.”

Mr. Pan did not give details on what the legislation would say. He said that as a member of the Beijing municipal people’s congress, he would bring up the idea of an act to other legislators and officials. In China, though, legislatures have little power; senior party officials make important policy.

Zhang Xin, Mr. Pan’s wife and business partner, said on her microblog that after thousands of people died as a result of air pollution in Britain in the 1950s, the government vigorously tackled its air quality problems with strict laws.

Shi Da contributed research.

A version of this article appears in print on , Section A, Page 4 of the New York edition with the headline: Beijing Takes Steps To Fight Pollution As Problem Worsens. Order Reprints | Today’s Paper | Subscribe