A razor assembly includes at least one razor blade having a cutting edge, a blade housing configured to accommodate the at least one razor blade aligned along first direction, a connecting head configured to be detachably coupled to the blade housing, a razor handle configured to support the connecting head so that the connecting head is pivotable about a rotation axis, which is perpendicular to the first direction, and a torsion spring configured to be elastically deformed when the connecting head pivots about the rotation axis from a neutral position so that the torsion spring provides a restoring force for the connecting head to return to the neutral position.