It could take a few days or several weeks for wet walls to dry out completely. The most important thing is to check the damp walls from the start and begin the drying process as soon as possible. Generally speaking, wet drywall will take three days to dry, but this can vary depending on the situation. It's important to not rush the drying process until the walls are completely dry.
A moisture meter can help you stay safe and ensure that the walls are dry. Once they are, you can reverse the process and repaint your room. Before reinstalling any items that were removed, inspect them for moisture or mold growth. Porous drywall can quickly become a breeding ground for mold growth once it gets wet.
This process can take as little as 24 hours, but you may not see the damage for a week or more. It's essential to act quickly and repair any drywall that has been damaged by water. Additionally, remove any objects that may have been damaged by water, such as furniture. Anything that has been in contact with water for several hours should be removed from the premises and washed and dried thoroughly.