Our standard twin mattress free standing frame was narrower than the twin headboard so we couldn't attach it directly to the headboard.  My son attached the frame to a board that he had to purchase that extended all the way to both sides of the headboard, then mounted the board directly to the headboard.  I was disappointed that it didn't fit!