The yoghurt - well chilled - should normally keep for 1 week.
Dairy products are very sensitive. The success and shelf life of homemade yoghurt therefore depend heavily on the perfect hygiene of all equipment and ingredients. This means that if the jars and lids are carefully washed out and rinsed hot before filling, a good shelf life should also be guaranteed.