Pennsylvania
Pennsylvania Grandparents' Rights: Visitation and Custody Laws

Pennsylvania does not give grandparents an automatic right to seek custody or visitation of a grandchild, and the rules changed meaningfully and recently. The old law let a grandparent seek custody just because the child's parents had been separated for six months, with no requirement that the child be at any risk. Pennsylvania's Supreme Court rejected that in 2016, and the legislature rewrote the standing rules in 2018. Any source written before 2018 describing the old separation-only trigger is now wrong. This guide covers the current, post-2018 law.
Information last verified on 2026-08-12. This article has not yet been reviewed by a licensed lawyer.
The Fit-Parent Presumption in Pennsylvania
Under Troxel v. Granville, 530 U.S. 57 (2000), a fit parent's decisions about a child's relationships, including with a grandparent, are constitutionally protected. Pennsylvania's own supreme court applied that protection directly to strike down part of the state's grandparent-custody statute in 2016, discussed below, and the legislature's 2018 fix is the current law every Pennsylvania grandparent needs to understand.
D.P. v. G.J.P.: Why the Old Trigger Failed
In D.P. v. G.J.P., 636 Pa. 574, 146 A.3d 204 (Pa. 2016), the Pennsylvania Supreme Court reviewed a lower court's decision that had already invalidated the former 23 Pa.C.S. Section 5325(2), which gave grandparents standing to seek custody based solely on the parents' separation of six months or more, with no requirement that the children be at any risk. In a separate opinion, Justice Baer stated he "would hold that the statutory provision at issue, 23 Pa.C.S. Section 5325(2), which provides grandparents standing to seek custody of their grandchildren solely on the basis of parents' separation or divorce, is not narrowly tailored because it does not require an allegation that the children are at risk." The court was fractured across multiple concurring-and-dissenting opinions, but the outcome affirmed the lower court's determination that this automatic-standing trigger violated the parents' fundamental rights.
The 2018 Act 21 Fix: Today's Standing Rules
The Pennsylvania legislature responded with Act 21, amending 23 Pa.C.S. Sections 5324 and 5325 effective 60 days after May 4, 2018, confirmed current at palegis.us. Under the current text, a grandparent or great-grandparent has standing to seek partial physical custody or supervised physical custody only where one of three conditions is met:

- The death of a parent of the child;
- The grandparent-child relationship began with a parent's consent or a court order, AND the parents are in an actual custody proceeding and disagree about the grandparent's continued involvement in the child's life, not mere separation; or
- The child lived with the grandparent for 12 or more consecutive months and was then removed by the parents, with the action filed within six months of that removal.
The pre-2018 version of Section 5325(2), the mere six-month-separation trigger with no dispute-and-disagreement requirement, is dead law after D.P. v. G.J.P. and the 2018 amendment. A page, or any source, describing that old separation-only trigger as current is describing a rule Pennsylvania no longer has.
A Note on Pennsylvania's Terminology
Pennsylvania law does not use the word «visitation» the way many other states do. Chapter 53 of Title 23 speaks in terms of «partial physical custody» and «supervised physical custody,» both of which function like what other states call visitation, time with the child short of full legal or primary physical custody. When this page or another Pennsylvania source refers to a grandparent seeking «custody,» it may mean this more limited, visitation-like arrangement rather than primary custody of the child. The standing rules described above govern both.
Standing Is Only the First Step
Even after a grandparent clears one of the three standing categories above, standing alone does not grant custody. Courts apply the best-interest factors of 23 Pa.C.S. Section 5328(c). For a grandparent or great-grandparent with standing under the death-of-a-parent or disputed-relationship categories, the court weighs prior personal contact between the grandparent and child, whether the award would interfere with any parent-child relationship, and the child's best interest generally. For the narrower 12-months-then-removed category, a shorter two-factor version applies: interference with the parent-child relationship, and best interest.
The Custody Track More Broadly
23 Pa.C.S. Section 5324, as amended in 2018, gives standing for any form of physical or legal custody to a parent, a person in loco parentis, a grandparent not in loco parentis whose relationship began with parental consent and who meets a dependency, at-risk, or 12-month-then-removed condition, or another individual meeting a four-factor clear-and-convincing test where neither parent has care and control of the child. See Pennsylvania child custody laws and can grandparents get custody for the broader custody landscape.
Adoption and Grandparent Custody Rights
23 Pa.C.S. Section 5326 automatically terminates a grandparent's or great-grandparent's custody rights upon the child's adoption, unless the adopting party is a stepparent, grandparent, or great-grandparent. Adoption by anyone else ends those rights automatically.

How and Where to File
These cases are filed in the Court of Common Pleas. A grandparent cannot simply allege a good relationship; one of the specific standing categories above must be met. For the disputed-relationship trigger specifically, the parents must actually be in a custody proceeding and disagree about the grandparent's role; simple separation or divorce, without that dispute, is not enough post-2018. No official statewide fee schedule was located; confirm current filing costs with the county's Court of Common Pleas.
Mediation Before Litigation
Because Pennsylvania's standing rules are now genuinely narrow, and because a filing that does not fit one of the three categories will be dismissed before any best-interest hearing, informal resolution should always be tried first. A direct conversation or family mediation can restore contact in situations, such as an ordinary separation without a custody dispute over the grandparent's role, where Pennsylvania law today provides no path to court at all.
What Litigation Actually Looks Like
Pennsylvania is a clear example of a state where the law changed meaningfully and recently, and where the standing gate itself, not just the best-interest standard, is the practical obstacle. A grandparent should confirm which of the three current categories applies before filing, since a case that would have qualified before 2016 may not qualify today. Expect real legal costs and a fact-intensive process even after standing is established. If a grandparent decides to pursue a petition, a family-law attorney licensed in Pennsylvania can confirm the case fits the current, post-2018 standing rules before filing.

Talk to a Pennsylvania family-law attorney: free case review
Every case has details a formula cannot capture. Get a free, no-obligation review from a Pennsylvania family-law attorney.
Disclaimer
This article provides general information about Pennsylvania grandparent custody and visitation law. It is not legal advice and does not create an attorney-client relationship. Pennsylvania's standing rules changed in 2018, and whether a specific case fits one of the current categories depends on the facts. Consult a family-law attorney licensed in Pennsylvania before relying on anything here for a specific case.
Last updated: 2026-08-12.
Related reading: Grandparents' rights by state, grandparent visitation rights, Pennsylvania divorce laws.
Frequently Asked Questions
Can grandparents get custody or visitation in Pennsylvania?
Yes, but only in three situations under 23 Pa.C.S. Section 5325 as amended by 2018's Act 21: a parent's death, an actual custody dispute in which the parents disagree about the grandparent's continued involvement, or the child having lived with the grandparent for 12 or more months before being removed.
Is it true that Pennsylvania grandparents can file for custody after a six-month separation?
No, not anymore. That rule was struck down in D.P. v. G.J.P. (2016) and replaced by the legislature's 2018 Act 21, which requires an actual custody dispute with disagreement over the grandparent's role, not mere separation.
What did D.P. v. G.J.P. decide?
The Pennsylvania Supreme Court reviewed a lower court's invalidation of the old rule giving grandparents standing based solely on six months of parental separation, with no requirement that the children be at risk, and affirmed that this automatic trigger violated the parents' fundamental rights.
Does standing to file guarantee a Pennsylvania grandparent will get custody?
No. Standing only allows the case to be heard. The court then applies best-interest factors under 23 Pa.C.S. Section 5328(c), including whether the award would interfere with the parent-child relationship.
Does adoption end a grandparent's custody rights in Pennsylvania?
Yes, automatically, under 23 Pa.C.S. Section 5326, unless the person adopting the child is a stepparent, grandparent, or great-grandparent.
Updates
Governing law re-checked for recent changes
Independently fact-checked against the cited primary sources
The Law Behind This Article
This article rests on 3 statutory provisions held in our own legal record, each retrieved from the official source. Tap a section to read the operative text.
Pennsylvania Consolidated Statutes Title 23 (Domestic Relations)
§ 5324Standing for any form of physical custody or legal custodyIn force
The following individuals may file an action under this chapter for any form of physical custody or legal custody: (1) A parent of the child. (2) A person who stands in loco parentis to the child. (3) A grandparent of the child who is not in loco parentis to the child: (i) whose relationship with the child began either with the consent of a parent of the child or under a court order; (ii) who assumes or is willing to assume responsibility for the child; and (iii) when one of the following conditions is met: (A) the child has been determined to be a dependent child under 42 Pa.C.S. Ch. 63 (relating to juvenile matters); (B) the child is substantially at risk due to parental abuse, neglect, drug or alcohol abuse or incapacity; or (C) the child has, for a period of at least 12 consecutive months, resided with the grandparent, excluding brief temporary absences of the child from the home, and is removed from the home by the parents, in which case the action must be filed within six months after the removal of the child from the home.
Official text (excerpt) · as of 2026-07-29 · Read the full section at palegis.us
§ 5325Standing for partial physical custody and supervised physical custodyIn force
In addition to situations set forth in section 5324 (relating to standing for any form of physical custody or legal custody), grandparents and great-grandparents may file an action under this chapter for partial physical custody or supervised physical custody in the following situations: (1) where the parent of the child is deceased, a parent or grandparent of the deceased parent may file an action under this section; (2) where the relationship with the child began either with the consent of a parent of the child or under a court order and where the parents of the child: (i) have commenced a proceeding for custody; and (ii) do not agree as to whether the grandparents or great-grandparents should have custody under this section; or (3) when the child has, for a period of at least 12 consecutive months, resided with the grandparent or great-grandparent, excluding brief temporary absences of the child from the home, and is removed from the home by the parents, an action must be filed within six months after the removal of the child from the home.
Official text (excerpt) · as of 2026-07-29 · Read the full section at palegis.us
§ 5326Effect of adoptionIn force
Any rights to seek physical custody or legal custody rights and any custody rights that have been granted under section 5324 (relating to standing for any form of physical custody or legal custody) or 5325 (relating to standing for partial physical custody and supervised physical custody) to a grandparent or great-grandparent prior to the adoption of the child by an individual other than a stepparent, grandparent or great-grandparent shall be automatically terminated upon such adoption.
Official text (excerpt) · as of 2026-07-29 · Read the full section at palegis.us
Search our full record of US law — 1.79 million sections, every state + federal →
Sources and References
- 23 Pa.C.S. Section 5325, When Grandparents and Great-Grandparents May File(palegis.us).gov
- 23 Pa.C.S. Section 5324, Standing for Any Form of Physical Custody or Legal Custody(legis.state.pa.us).gov
- 23 Pa.C.S. Section 5328, Factors to Consider When Awarding Custody(legis.state.pa.us).gov
- 23 Pa.C.S. Section 5326, Effect of Adoption on Custody Rights(palegis.us).gov