Cockroaches have a keen sense of smell, which they employ to locate food. You may reap the benefits of this by repelling them from your house with odors they despise, such as thyme, citrus, basil, mint, and citronella.