A smart toilet having a function of human blood oxygen detection is provided. The smart toilet includes a toilet base and a machine body connected to the toilet base. The machine body is provided with a controller and the following modules which are electrically connected to controller respectively, i.e., human blood oxygen detection module, display or voice prompt module, and power supply module which is used to supply power. After processing, the controller obtains the human blood oxygen saturation value based on the electrical signal transferred from the human blood oxygen detection module. Also, the controller controls the display or voice prompt module to output the human blood oxygen saturation value. The present invention combines the toilet with the human blood oxygen detection, such that it is easy for the user to know about his/her blood oxygen condition in real time.