You can drill it into the wall pr use the adhesive to stick it on. We’ve had this magnetic door stopper on the boys’ bathroom for months now (with the adhesive) and it has held up great!