In its order, which was uploaded Tuesday evening, the judge noted that the allegation raised by the complainant might have been inspired by her "unrequited and un-reciprocated love" for Nath.
Alok Nath said his next legal move would depend on the court order and expressed gratitude to his wife Ashu.
Bollywood actor Alok Nath had filed the plea for bail application in the Mumbai court on December 14.
The writer was in conversation with journalist Barkha Dutt at a panel discussion on 'After the #MeToo revolution, what next?' at We The Women event here.
The complainant, best known for a popular television show of the 90s, accused Nath of raping her in a social media post last month.
#MeToo: Mumbai Court rejects Alok Nath's wife's plea seeking injunction order against writer Vinta Nanda
The application sought that Nanda be directed to refrain from speaking to the media or making statements against Nath.
Vinta Nanda accused that Bollywood actor Alok Nath had raped her 19 years ago which the veteran actor denies.
Nanda's advocate said that her client will not be intimidated by threats and defamation suits which are primarily meant to delay and distract from the gravity of the allegations.
Actor Alok Nath's lawyer Ashok Saraogi has denied all the allegations of sexual harassment made against his client.
This comes less than a week after Nanda narrated her ordeal on Facebook amidst the ongoing #MeToo movement.
This comes amidst Nanda's claim that she was sexually violated by actor Alok Nath around two decades ago.
The Indian Film and Television Directors' Association has issued a notice to veteran actor Alok Nath, seeking his stand on the sexual harassment and rape allegations made against him.
Responding to the allegations, Nath's lawyer Ashok Sarogi said, "All the complaints are false and there is no merit in it.
Sandhya Mridul said despite being the victim of Nath's overtures, it was she who suffered because he spread lies about her being a difficult person to work with.
#MeToo: Speaking after 20 years doesn't mean claims are questionable, says Mahesh Bhatt on Vinta Nanda's allegations
The 70-year-old filmmaker, who called Nanda a "crusader of causes" and a friend, said he wants to know what stopped the "Tara" writer from calling out Nath when the incident happened.