I'm claustrophobic. Elevators are fine, they are plenty big enough. MRIs are not. There are different levels of claustrophobia though, some people need to sit next to an exit in a room, for example, and not in the back for easy escape.
I didn't realize I might be more than very slightly claustrophobic until I had an MRI recently. I wonder if there might be a greater incidence than most people consider.