You can use maple syrup, sorghum syrup, or cane syrup if you don't have molasses in your pantry. But there's actually no need to worry. Molasses is readily available in grocery stores and they can be stored in your pantry for years.