Pour one gallon of whole milk into the stainless steel insert of your Instant Pot.
Select the yogurt function and adjust it to the boil setting. Heat the milk to 180°F, checking the temperature with an instant-read thermometer.
Remove the stainless steel insert and allow the milk to cool to 110–115°F.
Add ¼ cup of plain yogurt containing live and active cultures and whisk thoroughly.
Return the stainless steel insert to the Instant Pot and place the lid on top.
Select the normal yogurt setting and allow the yogurt to culture for approximately six hours, or until fermentation is complete.
Once the yogurt has finished culturing, cover and refrigerate for at least four hours.
For traditional yogurt, stir any separated whey back into the yogurt.
For Greek-style yogurt, strain through cheesecloth in the refrigerator until the desired consistency is reached.
Reserve ¼ cup of plain yogurt if you plan to use it as the starter for your next batch.
If desired, add maple syrup or honey and vanilla extract. Blend with an immersion blender until smooth.
Transfer to clean, airtight Mason jars and refrigerate.