They live as long as you feed them and have a paper towel and spray water on them so they can drink.
A mealworm itself (larva) can live for 10 days before molting into a pupa.
A mealworm can live up to one year.
The live in the larvae stage (moulting several times) for about 3 months. Then they live about two weeks in the pupa stage before becoming beetle.
The common garden worm lives for forty five years.
Well, it depends like everyone else. If they take care of themselves they will