Dublin, capital of the Republic of Ireland, is located on the island of Ireland in Europe, off the northwestern coast of the mainland.