It's going to be a hot next 24 hours in the capital region.

Environment Canada declared a heat warning Wednesday afternoon for Ottawa and the surrounding area.

The weather agency says a hot and humid air mass is expected to remain over the area into Thursday.

Minimum temperatures Wednesday night will be near 20 C, with temperatures reaching into the low 30s on Thursday.

Cooler temperatures are expected to provide relief on Friday.