An electromechanical actuator for a home automation installation for closing or sun protection, the electromechanical actuator comprising at least: - an electric motor, - a gearbox, and - a spring brake, the spring brake comprising at least: - a coil spring, - a drum, the drum comprising a housing, the housing of the drum comprising an internal friction surface configured to mate with at least one winding of the coil spring, - an input member, - an output member, and - a cover, ▪ the input member comprising a driving tooth, the driving tooth extending between the input member and the cover, in an assembled configuration of the spring brake, and ▪ the input member or the cover comprising a spacer, the spacer extending between the input member and the cover, in the assembled configuration of the spring brake, characterized in that the input member comprises a first radial holding element of the coil spring extending between the driving tooth and the spacer, along a first side of the spring brake, in the assembled configuration of the spring brake, and in that the cover comprises a second radial holding element of the coil spring extending between the driving tooth and the spacer, along a second side of the spring brake, in the assembled configuration of the spring brake, the second side of the spring brake being opposite the first side of the spring brake, relative to an axis of rotation of the spring brake. the electromechanical actuator comprising at least: - an electric motor, - a gearbox, and - a spring brake, - an electric motor, - a gearbox, and - a spring brake, the spring brake comprising at least: - a coil spring, - a drum, the drum comprising a housing, the housing of the drum comprising an internal friction surface configured to mate with at least one winding of the coil spring, - an input member, - an output member, and - a cover, ▪ the input member comprising a driving tooth, the driving tooth extending between the input member and the cover, in an assembled configuration of the spring brake, and ▪ the input member or the cover comprising a spacer, the spacer extending between the input member and the cover, in the assembled configuration of the spring brake, - a coil spring, - a drum, the drum comprising a housing, the housing of the drum comprising an internal friction surface configured to mate with at least one winding of the coil spring, - an input member, - an output member, and - a cover, ▪ the input member comprising a driving tooth, the driving tooth extending between the input member and the cover, in an assembled configuration of the spring brake, and ▪ the input member or the cover comprising a spacer, the spacer extending between the input member and the cover, in the assembled configuration of the spring brake, ▪ the input member comprising a driving tooth, the driving tooth extending between the input member and the cover, in an assembled configuration of the spring brake, and ▪ the input member or the cover comprising a spacer, the spacer extending between the input member and the cover, in the assembled configuration of the spring brake, characterized in that the input member comprises a first radial holding element of the coil spring extending between the driving tooth and the spacer, along a first side of the spring brake, in the assembled configuration of the spring brake, and in that the cover comprises a second radial holding element of the coil spring extending between the driving tooth and the spacer, along a second side of the spring brake, in the assembled configuration of the spring brake, the second side of the spring brake being opposite the first side of the spring brake, relative to an axis of rotation of the spring brake.