Question: are ants scared of salt?
Answer: The pepper wouldn't kill the ants but definitely deter them from returning to your house. Make sure you clean the area where you want to spray the pepper solution. Spreading salt near nooks and corners from where ants enter the house will help keeping ants away. ... Use ordinary table salt not health boosting rock salt.