Tyrese checked himself into an L.A. hospital Thursday night after experiencing bad chest pains, shortly after an explosive day in court with his ex-wife … TMZ has learned.

Sources close to Tyrese tell TMZ he went back to his hotel after leaving the courthouse — he’s currently in a legal battle with his ex, Norma Gibson — when he started having the pain. He reportedly felt dehydrated as well, so he decided to go to the ER.

The “Fast & Furious” actor is reportedly getting fluids for dehydration and is about to undergo some tests to find out why he’s having chest pains as at the time of this report.

His ex-wife, Norma accused him of spying on her and claimed she was afraid of him at times.