You can store homemade yogurt in the fridge for up to 15-20 days. Keeping it for longer makes the yogurt sour due to active bacteria.