For how long does a colostomy last?

Depends. If it is done as a permanent colostomy or a temporary colostomy. Colostomies will last you a life time but you may only need it temporarily.