A large swath of Maine could be in for a heat wave during the Fourth of July holiday week, according to the National Weather Service.

A hot, humid air mass is expected to roll into Maine early this week, likely bringing 90-degree temperatures, especially to inland parts of the state. Temperatures have to exceed 90 degrees for at least three consecutive days to count as a heat wave.

In some areas it could feel as hot as 95-100 degrees Monday and Tuesday, prompting a hazardous weather outlook in Maine’s interior, according to the weather service.

Forecasters say it will be warm and muggy along the Maine coast, but still cooler than in communities farther inland.

Parts of New Hampshire were included in heat advisories Sunday and Monday. Some parts of Southern New England are under excessive heat warnings, meaning the heat index could surpass 105 degrees for several hours during the day.

Follow Nick McCrea on Twitter at @nmccrea213.

Follow the Bangor Daily News on Facebook for the latest Maine news.