Denis ascended to the throne in 1279, succeeding his father, Afonso III of Portugal. During his reign, he focused on reorganizing Portugal's economy and promoting agricultural development. One of his notable achievements was the establishment of a large pine forest near Leiria, which not only prevented soil degradation but also served as a source of raw materials for the construction of royal ships. This forest, known as the Pinhal de Leiria, still exists today and is considered an important conservation area.

In addition to his economic reforms, Denis was a patron of the arts and sciences. He played a significant role in advancing Portugal's cultural and intellectual scene, particularly in Lisbon, which became one of Europe's centers of culture and learning during his reign. Denis founded the first university in Portugal, known as the Estudo Geral, in 1290. Lectures in various disciplines, including arts, civil law, canon law, and medicine, were offered at the university. In 1309, he granted the university a charter, known as the Magna Charta Privilegiorum, further solidifying its status. The university was eventually permanently established in Coimbra in 1537.

Denis himself had a strong passion for literature and wrote several books on various subjects, including government administration, hunting, science, and poetry. He also played a crucial role in the development of the Portuguese language as a literary language. He ordered the translation of many literary works into Galician-Portuguese, which was the precursor to the modern Portuguese language. His own poetic works, particularly the Cantigas de Amigo, a collection of love songs and satirical songs, contributed to the development of troubadour poetry in the Iberian Peninsula.

Beyond his cultural pursuits, King Denis was an astute administrator and focused on centralizing royal power. He introduced judicial reforms and made Portuguese the official language of legal and judicial proceedings. He also promoted economic development by creating towns and trade fairs, advancing the interests of Portuguese merchants, and establishing the Bolsa de Comércio, the first documented form of marine insurance in Europe.

Denis's reign was marked by his diplomatic efforts and military achievements. He signed the first Portuguese commercial agreement with England in 1308 and played a crucial role in the establishment of the Portuguese navy by securing the services of the Genoese merchant sailor Manuel Pessanha as the hereditary admiral of his fleet. He also negotiated with Pope John XXII for the recognition of the newly created Order of Christ, which was intended to continue the legacy of the disbanded Knights Templar in Portugal.

King Denis of Portugal, who reigned from 1279 to 1325, was married to Queen Elizabeth of Portugal, also known as Elizabeth of Aragon. Their marriage, which took place in 1282 when she was just 10 years old, was a remarkable partnership that influenced the history of Portugal. Queen Elizabeth, renowned for her piety and humility, played a crucial role in promoting education, supporting the arts, and establishing charitable institutions. Despite their significant age difference, their marriage was characterized by mutual respect and affection, and Queen Elizabeth's virtuous qualities left a lasting impact on the cultural and religious life of Portugal during King Denis's reign.

Despite his many accomplishments, Denis faced challenges during his reign. His two sons, Afonso (the legitimate heir) and Afonso Sanches (his illegitimate son), frequently quarreled for royal favor, leading to internal conflicts and even civil war. However, Denis managed to maintain peace and balance between the factions.

King Denis of Portugal died on January 7, 1325, in Santarém. He was buried in the Monastery of Saint Denis in Odivelas, near Lisbon. His reign left a lasting legacy, characterized by his efforts to centralize power, promote economic development, advance cultural and intellectual pursuits, and establish Portugal as a significant power in the Iberian Peninsula.