The healing time for ulcers can vary depending on factors such as the size and severity of the ulcer, the underlying cause, and the effectiveness of treatment. With appropriate medical treatment and lifestyle changes, most ulcers heal within a few weeks to a few months. However, some ulcers may require more prolonged treatment and monitoring, especially if complications occur.