BOSTON (WHDH) - A heat advisory remains in place for the majority of Massachusetts on Wednesday with an “enhanced risk” for thunderstorms as high temperatures and humidity continue to grip the region.

RELATED: Severe thunderstorm watch issued for most of Massachusetts

The advisory went into effect Monday for all of the Bay State, excluding Cape Cod and the Islands, and is slated to end at 7 p.m. Wednesday.

Temperatures are expected to stay in the mid- to high 90s on Wednesday, with the heat index reaching between 98 and 104 degrees.

RELATED: Interactive radar

The oppressive heat and humidity is expected to fuel thunderstorms across much of the state this afternoon into the evening. The storms could bring the threat for heavy rain, lightning, and damaging wind gusts.

Tuesday marked one of the four hottest days ever recorded in June, 7NEWS Meteorologist Josh Wurster said.

Just after 10 a.m. on Wednesday, Boston notched its second heat wave in the month of June for the first time since 1941.

Local doctors are urging people to drink plenty of fluids, stay in air-conditioned rooms, and stay out of the sun.

“I think water is great. I think sports drinks are fine,” said Dr. Matthew Mostofi, of Tufts Medical Center.

Mostofi also urged the public to check on those in need.

“If you know the elderly neighbor lives next door, it would be nice to check on them,” Mostofi said.

A cooler pattern is on tap heading into the holiday weekend, bringing with it shower chances.

For the latest weather updates, visit the 7Weather page.

(Copyright (c) 2024 Sunbeam Television. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox