She was beatified on 27 April 1947, and canonized on 24 June 1950. These words are from the homily of Venerable Pope Pius XII on that occasion:
"It is well known how this young girl had to face a bitter struggle with no way to defend herself. Without warning a vicious stranger burst upon her, bent on raping her and destroying her childlike purity. In that moment of crisis she could have spoken to her Redeemer in the words of that classic, The Imitation of Christ: “Though tested and plagued by a host of misfortunes, I have no fear so long as your grace is with me. It is my strength, stronger than any adversary; it helps me and give me guidance.” With splendid courage she surrendered herself to God and his grace and so gave her life to protect her virginity. The life of a simple girl - I shall concern myself only with highlights - we can see as worthy of heaven. Even today people can look upon it with admiration and respect. Parents can learn from her story how to raise their God-given children in virtue, courage, and holiness; they can learn to train them in the Catholic faith so that, when put to the test, God’s grace will support them and they will come through undefeated, unscathed, and untarnished. From Maria’s story carefree children and young people with their zest for life can learn not to be led astray by attractive pleasures which are not only ephemeral and empty but also sinful. Instead they can fix their sights on achieving Christian moral perfection, however difficult that course may prove. With determination and God’s help all of us can attain that goal by persistent effort and prayer. Not all of us are expected to die a martyr’s death, but we are all called to the pursuit of Christian virtue. So let us all, with God’s grace, strive to reach the goal that the example of the virgin martyr, Saint Maria Goretti, sets before us. Through her prayers to the Redeemer may all of us, each in his own way, joyfully try to follow the inspiring example of Maria Goretti who now enjoys eternal happiness in heaven."
O God, the author of innocence and lover of chastity, who didst bestow the grace of martyrdom on thy handmaid, the Virgin Saint Maria Goretti, in her youth: grant, we pray, through her intercession; that, as thou gavest her a crown for her steadfastness, so we too may be firm in obeying thy commandments; through Jesus Christ thy Son our Lord, who liveth and reigneth with thee, in the unity of the Holy Spirit, ever one God, world without end. Amen.