A handrail means for a bed frame includes a handrail frame, a shield, a handrail fixing frame, and a swinging assembly. When the swinging assembly acts, the shield does not act yet so as to avoid from interfering with the swinging assembly. When the swinging assembly is oriented horizontally, the shield can be folded toward the inside of the handrail frame. When the swinging assembly achieves a predetermined point, the shield has completed its action. Therefore, during the action, the shield avoids the handrail means from contacting the ground, thereby smoothing the folding of the handrail means of the bed frame.