> 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. § 5335 — Counsel for child.

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

## Hierarchy

Title 23 > Chapter 53

## Text

(a) Appointment.--The court may appoint counsel to represent the child if the court determines that the appointment will assist in resolving the issues in the custody proceeding. If a child has legal counsel and a guardian ad litem, counsel shall represent the legal interests of the child and the guardian ad litem shall represent the best interests of the child.

(b) Abuse.--Substantial allegations of abuse constitute a reasonable basis for appointing counsel for the child.

(c) Not subject to examination.--Counsel appointed by the court for the child shall not be subject to examination unless such counsel testifies in the matter.

(d) Costs.--The court may order a party to pay all or part of the costs of appointing counsel for the child under this section. (Apr. 15, 2024, P.L.24, No.8, eff. 120 days) 2024 Amendment. Act 8 amended subsec. (b). See section 1 of Act 8 in the appendix to this title for special provisions relating to findings and declarations. Cross References. Section 5335 is referred to in section 5334 of this title.
