One of the best ways to prevent moles around your yard is to create a rock or wire trench around your property’s perimeter. By digging a 2-3 foot deep trench around your yard and filling it in with rocks or steel wire mesh that the moles can’t tunnel through, you can help minimize your risk of them finding their way into your yard proper. However, keep in mind that even using this method can have its downsides unless undertaken by a professional.