These tiny brown worms are most likely insect larvae. The larvae for many flying insects, such as gnats, look like a brown worm, or brown maggot. To rid your home, you must deter the insects themselves. Keep fruits and liquids placed away. Keep your drains dry. You can place cups of vinegar around home, filled to brim, to kill them.