Endometrial scratching is usually performed in the mid-luteal phase of the menstrual cycle preceding the planned IVF cycle. The procedure can be done in a clinic setting and involves inserting a thin, flexible tube called a pipelle through the cervix into the uterus to gently scrape the endometrial lining. This process usually takes a few minutes and can be somewhat uncomfortable, but it is generally well-tolerated.