A wall fastener for fastening an object to a wall includes a fastening body, a hanging member and an attaching pin. The fastening body has a utility surface and an attachment surface. The hanging member extends from the utility surface of the fastening body for allowing the object to be hung on the hanging member. The attaching pin extends from the attachment surface of the fastening body. The attaching pin is arranged to detachably penetrate into the wall for detachably attaching the object on the wall.