Replacing your roof before selling your home can be beneficial, as it can improve curb appeal, add value, and provide peace of mind to potential buyers. However, it depends on the condition of your current roof and your budget, as it may not be worth the expense if the roof is in good condition.