> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# 23 Pa.C.S. § 5457 — Costs and expenses.

- **Citation**: 23 Pa.C.S. § 5457
- **Node Type**: section
- **Jurisdiction**: Pennsylvania (state)
- **Code Body**: Pennsylvania Consolidated Statutes (Aug. 2026 snapshot) (Pa.C.S.)
- **Official Source**: [https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=23](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=23)
- **Canonical URL**: [https://corpuslaw.us/codes/pennsylvania/title-23/chapter-54/section-5457](https://corpuslaw.us/codes/pennsylvania/title-23/chapter-54/section-5457)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-23/chapter-54/section-5457](https://corpuslaw.us/codes/pennsylvania/title-23/chapter-54/section-5457)

## Hierarchy

Title 23 > Chapter 54

## Text

If the respondent is not the prevailing party, the court may assess against the respondent all direct expenses and costs incurred by the prosecutor or other appropriate public official and law enforcement officers under section 5455 (relating to role of prosecutor or public official) or 5456 (relating to role of law enforcement).
