To an Unknown God (Spanish: A un dios desconocido) is a 1977 Spanish film directed by Jaime Chávarri. The film is about an aging man coming to terms with his homosexuality and mortality. It was a pioneer in its frank and mature examination of homosexuality.