> 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. § 5338 — Modification of existing order.

- **Citation**: 23 Pa.C.S. § 5338
- **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-53/section-5338](https://corpuslaw.us/codes/pennsylvania/title-23/chapter-53/section-5338)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-23/chapter-53/section-5338](https://corpuslaw.us/codes/pennsylvania/title-23/chapter-53/section-5338)

## Hierarchy

Title 23 > Chapter 53

## Text

(a) Best interest of the child.--Upon petition, a court may modify a custody order to serve the best interest of the child.

(b) Applicability.--Except as provided in 51 Pa.C.S. Ch. 46 (relating to uniform deployed parents custody and visitation), this section shall apply to any custody order entered by a court of this Commonwealth or any other state subject to the jurisdictional requirements set forth in Chapter 54 (relating to uniform child custody jurisdiction and enforcement). (Apr. 12, 2012, P.L.241, No.32, eff. 60 days; Oct. 27, 2025, P.L.131, No.40, eff. 30 days) 2025 Amendment. Act 40 amended subsec. (b).
