A fail safe is the automatic protection of programs and/or processing systems when hardware or software failure is detected.