Yes, spiders hate the smell of onion and garlic. Rubbing these would help, but it has a very strong smell. It is most preferred when you go camping alone, but when with a companion always ask if they are fine with the smell.