Thank you for your question.
You can find numerous discussions and recommendations for ridding
homes of ants. I'll provide you a few links.
For example, this one at soyouwanna.com:
"...Getting rid of ants
As always, take preventative action. Keep food sealed (especially
sweet foods). Also, if you ever spill a liquid (such as juice or
soda), clean it up right away. The sugar will attract ants like crazy.
Treat the perimeter of your home with dust or a spray. This will keep
ants from invading through any of those pesky cracks.
Interior treatments work well inside the home, because they attack the
ants in, on, and around sources of food. So boric acid products
(effective on roaches) will kill ants too. The Pest Products People
recommend that you use Delta Dust and Drione Dust, applied with a
Crusader Duster. Just make sure that you place the dust directly in
the path of the ants, as they won't be affected by it if they walk
Ant foggers are easy to use, though they might not reach some of the
hidden nooks and crannies.
If your ants have burrowed into wood or foam insulation of your home,
you can spot treat with a product called Bora-Care. This should be
used in conjunction with another method, such as fogging. Soak all
wood surfaces to the point of wetness to destroy ant colonies inside
structures and to keep them from invading other structures.
Baits are highly recommended for getting rid of ants -- just place
them along paths the ants use..."
The Frugal Life
"...Q. I have a question about ants. We have had a problem with the
small, brown ants. We have tried the borax & sugar, and poison,
nothing works. Does anyone have any suggestions?
We have 'them, too. About everybody we know does, here in Southern
California. We don't like to spray poisons around, so we have to put
up with them to some extent, but we have found that they hate baby
powder (preferably scented talcum). If you find a trail of them in
your house, or some "scouts" looking for food so they can bring the
rest of their nest to enjoy it, just sprinkle the baby powder on the
ants and wherever they are coming in from, if you can find it, and you
will see them begin to get upset. After a while, they'll be gone, and
they won't be back again for awhile, even after you remove the powder.
We dust baby powder on our honey jar and sugar bowl, as well as the
outside of the cats' dish and it keeps the ants off..."
Further recommendations at this site suggest vinegar, black pepper and
cinnamon. Do read the thread!
One of my colleagues, bethc-ga answered this question for an asker
from Australia. You might wish to read her excellent answer here:
Amma's has multiple discussions on ridding of ants:
In my kitchen any thing you keep on the slab, just after 15 minutes
you can see ants covered on the stuff. I tried applying lakshman
rekha, Kerosine, baygone spray, DDT powder etc nothing worked. Can you
suggest any pesticides, which is non-toxic for infants and pets at
home to get rid of these ants?..."
This received the suggestion of garlic and tumeric paste
You'll find more than a dozen suggestions at this page.
rid apartment of ants
I trust my research has provided you with a number of useful
suggestions and links to clearing your ant problem. If a link above
should fail to work or anything require further explanation or
research, please do post a Request for Clarification prior to rating
the answer and closing the question and I will be pleased to assist