Homemade sweet and sour sauce can be stored in an airtight container in the refrigerator for up to one week. Just make sure to keep it properly sealed to maintain its freshness.