However, it may take up to 3 months for pain and swelling to settle down. It can take up to a year for any leg swelling to disappear. Your new knee will continue to recover for up to 2 years after your operation. During this time, scar tissue will heal and muscles can be restored by exercise.