Yes, Gjellerup was married. He married Helga Nielsen in 1884 and had two children with her, a son and a daughter. They lived in Copenhagen until Gjellerup's death in 1916.
The Enigmatic Tales of Karl Adolph Gjellerup: A Journey through Danish Literature