Eco-friendly option!
Just sprinkle any problem area with a little bit of borax. In addition to repelling spiders, if they come into a direct contact with borax, it will kill them. Note that borax is definitely an environmentally-friendly option: it is a biodegradable, natural mineral, which easily dissolves in water. So, opt for borax to get rid of spiders.
Photo: Credit