Rakhi surrendered before the court on Thursday, a day ahead of the hearing of the case against her.
The court had earlier issued non-bailable warrants against her last month and directed police to ensure her presence in the court on July 7.
Court sources said that the actress had submitted an unconditional apology to the Valmiki community for her earlier remarks made on a TV show last year following which a complaint was filed against her with the Ludhiana police. Rakhi got the bail after furnishing two bonds of Rs one lakh each. She later left for Mumbai.
The court had issued non-bailable warrants against her in March this year and a Punjab Police team had gone to Mumbai to arrest her. However, it returned empty-handed as she was not found at her given address.