Salt

If ants are beating a path to your home, intercept them by sprinkling salt across the door frame or directly on their paths. Ants will be discouraged from crossing this barrier.
Herbs and spices

Flour, sugar and paprika can all fall prey to ants. Keep these cooking essentials safe by slipping a bay leaf inside your storage containers. If you’re concerned about the flour or sugar picking up a bay leaf flavour, tape the leaf to the inside of the canister lid. This trick works inside cabinets, too, where sachets of sage, bay, stick cinnamon, or whole cloves will smell pleasant – all while discouraging ants.
Talcum powder

For an effective organic ant repellent, scatter talcum powder liberally around house foundations and known points of entry, such as doors and windows. Other effective organic repellents include cream of tartar, borax, powdered sulphur and oil of cloves. You can also try planting mint around the house foundations.