you can keep sofrito for up to 1 week in the refrigerator, but the flavor will intensify over time. it also makes delicious sauces for various seafood stews. leftover sofrito should last around three days in the fridge. store in an airtight jar or container in the freezer, and it will still last up to 1 month.