claustrophobia

ˌklɔːstrəˈfəʊbɪə

noun

extreme or irrational fear of confined places.

the small stuffy room had begun to give him claustrophobia