in the heat of the moment

Upper Intermediate (B2) neutral

Done or said while feeling very strong emotions, without thinking.

"He said some things he regretted — it was all in the heat of the moment."