A pharmaceutical composition for treating infertility in a female subject substantially consists of local anesthetic of amide type such as lidocaine, human albumin, viscosity controlling agent selected from recombinant hyaluronic acid and combination of recombinant hyaluronic acid and water-soluble cellulose ether, optionally citrate, glucose, and/or amino acid, water optionally comprising one or more ions selected from the group consisting of sodium, potassium, magnesium, calcium, acetate, chloride, sulfate. Also disclosed is a method of treating infertility by administration of the composition to a female subject in need thereof.