It can take 3-6 mths to recover from a total hip although small, subtle improvements can continue for up to 2 years post-op.
Post-op recovery is a gradual process. Usually, the patient is in the hospital for 2-4 days. All work & most life activities are difficult for the first couple of weeks after which a person with a desk job could go back to work. More rigorous activities can be resumed later.