The Beijing Meteorological Observatory on Friday issued a red alert, the highest weather warning color code in the system, as the capital city recorded temperatures of up to 40 degrees Celsius (104 Fahrenheit).
On Thursday, the maximum temperature was recorded to be 41.1 degree Celsius, shattering the record for the hottest day in June, the Observatory said. It was also the second-highest logged temperature in history. On 24 July 1999, temperatures in Beijing reached 41.9 degrees Celsius.
Moreover, temperatures in Beijing have exceeded 105 degrees Fahrenheit for two days in a row for the first time since meteorological observations began in 1961.
The weather agency has forecast that there will be no cooling down for citizens until the weekend.
Residents have been urged to avoid outdoor activities during the day - especially children and older people - and to drink at least 1.5 liters of water a day.
It has also been said that the soaring temperature may have health effects, including an increased risk of stroke.
China has been witnessing unprecedentedly high temperatures since March. Many reports also suggest that farmed animals, including pigs, rabbits, and fish have died because of the scorching conditions.