Fire doors are rated based on how long they can withstand fire, typically 30 or 60 minutes. This rating indicates the duration for which the door can effectively contain the spread of fire and smoke. It's important to choose doors that meet the necessary fire rating requirements for your building.