A toilet paper holder, comprising a housing, a toilet paper bracket and a locking and releasing mechanism, a toilet paper accommodating cavity being provided in the housing, the toilet paper accommodating cavity having a toilet paper access opening and a first cavity wall disposed opposite to the toilet paper access opening, wherein the toilet paper bracket is rotatably installed in the toilet paper accommodating cavity, and is configured to be capable of rotating towards the first cavity wall, so that the toilet paper bracket is in an access position in which the toilet paper bracket is configured to be capable of rotating into a hollow core of a toilet paper to install the toilet paper or rotating out of the hollow core of the toilet paper to remove the toilet paper; the toilet paper bracket is further configured to be capable of rotating from the access position toward the toilet paper access opening, so that the toilet paper bracket is in a support position in which the toilet paper bracket is configured to be located in the hollow core of the toilet paper to support the toilet paper; the toilet paper bracket is further configured to be capable of rotating from the support position toward the toilet paper access opening, so that the toilet paper bracket is in a dismount position in which the toilet paper bracket is configured to be capable of rotating out of the hollow core of the toilet paper to remove the toilet paper; the locking and releasing mechanism is mounted to the housing, and the locking and releasing mechanism has a lock state to lock the toilet paper bracket, so that the toilet paper bracket is only capable of being switched between the access position and the support position, the locking and releasing mechanism also has a release state to release the toilet paper bracket so that the toilet paper bracket is capable of being switched to the dismount position. wherein the toilet paper bracket is rotatably installed in the toilet paper accommodating cavity, and is configured to be capable of rotating towards the first cavity wall, so that the toilet paper bracket is in an access position in which the toilet paper bracket is configured to be capable of rotating into a hollow core of a toilet paper to install the toilet paper or rotating out of the hollow core of the toilet paper to remove the toilet paper; the toilet paper bracket is further configured to be capable of rotating from the access position toward the toilet paper access opening, so that the toilet paper bracket is in a support position in which the toilet paper bracket is configured to be located in the hollow core of the toilet paper to support the toilet paper; the toilet paper bracket is further configured to be capable of rotating from the support position toward the toilet paper access opening, so that the toilet paper bracket is in a dismount position in which the toilet paper bracket is configured to be capable of rotating out of the hollow core of the toilet paper to remove the toilet paper; the locking and releasing mechanism is mounted to the housing, and the locking and releasing mechanism has a lock state to lock the toilet paper bracket, so that the toilet paper bracket is only capable of being switched between the access position and the support position, the locking and releasing mechanism also has a release state to release the toilet paper bracket so that the toilet paper bracket is capable of being switched to the dismount position.