How you store it depends on several environmental details, such as the humidity levels in your home.
How do you store sourdough bread for a longer shelf life?
Depending on how you store your bread, it can last from 4 days to a few weeks.
You can leave a whole loaf that hasn’t been sliced in a paper bag, cloth bag, linen bread bag, or clean tea towel on the counter for two days.
For a whole loaf that hasn’t been sliced, wrap it in cling wrap and store it in the freezer in a freezer ziplock bag for up to two weeks.