A Catholic funeral is carried out in accordance with the prescribed rites of the Catholic Church. Such funerals are referred to in Catholic canon law as "ecclesiastical funerals" and are dealt with in canons 1176–1185 of the Code of Canon Law and canons 874–879 of the Code of Canons of the Eastern Churches. In Catholic funerals, the Church seeks firstly to offer the Mass for the benefit of the soul of the deceased so that the temporal effects of sin in Purgatory may be extinguished, and secondly to provide condolence and comfort for the deceased's family and exhort the latter to pray, along with the Church, for the soul of the departed.
In general, Catholics are to be given a Catholic funeral upon their death.Catechumens are to be considered as Catholics with regard to funeral matters, and the local ordinary may permit unbaptized children whose parents intended to have them baptized to be given a Catholic funeral. The local ordinary may also permit baptized persons who were not Catholic to be given a Catholic funeral, provided their own minister is not available, unless they were clearly opposed to it.
However, Catholic burial rites are to be refused even to baptized Catholics who fall within any of the following classifications, unless they gave some sign of repentance before death:
The Latin Church also has some rules that are not common to all the Eastern Catholic Churches regarding the church in which the funeral rites are to be celebrated, the funeral dues that are payable to a priest for conducting the funeral and the cemetery in which they are to be buried.