The pieces underneath the shelf are screwed to the wall. There are 2 screws in each "leg". One screw is in a stud as they were conveniently placed, the other is in using a good quality drywall anchor. I then glued and screwed the shelves to these legs. They are perfectly strong for the surface...