How social media posts get used against parents in custody cases
Learn how posts, photos and messages get used in custody cases, why deleting can backfire, and how to protect your child while the case is open.

Why a private letter to the judge usually fails in custody cases, and how to write a sworn declaration the court can actually consider.
Best for the Children Editorial·8 min read·June 11, 2026·Updated November 27, 2026
It's late, the hearing feels far away, and you want the judge to understand what your child's days are really like. You can write to the judge, but not by mailing a private letter to the courthouse. A letter sent only to the judge is usually discarded or left unread. What can reach the judge is a formal declaration that you file with the clerk and that the other parent receives too. Here is how to write one.
Ex parte means communicating with a judge without the knowledge of the other people in the case. A letter addressed to a judge counts, because the other parent can't see it.
Judges are barred from acting on these contacts. One federal court's guidelines cite Canon 3 of the Code of Conduct for United States Judges, which prohibits judges from considering ex parte communications. They also cite Federal Rule of Bankruptcy Procedure 9003, which bans parties and the people connected to them from contacting judges this way. That guidance comes from a federal bankruptcy court, not a family court, so look up your own state's rules. The principle is the same everywhere: both parents get to see and answer whatever the judge relies on.
The practical result is that a letter mailed or dropped off at the courthouse without being formally served is discarded or put into the case file unread. The same court's guidelines also say that the clerk's office and judges will not give legal advice, including answers about how to proceed. Don't count on a phone call to chambers to tell you what to do.
Formal filings are different. Every piece of information a judge considers has to be filed openly so all parties can see it and contest it. That is why a filing works and a private letter doesn't.
People say "letter to the judge" for three different things.
Here are the three formats, and who each one is for:
A parent can't simply write an informal letter. As a party, you file a formal declaration sworn under penalty of perjury. Informal wording is for the people writing on your behalf.
A declaration can also ask for a change. If you believe the current arrangement is not in your child's best interests, you can submit one to request a modification of your custody order.
In a custody hearing, judges consider what is in the best interests of the children. A good declaration shows what you do for your child, not how much you dislike your ex. Custody letters are meant to show that a parent can meet a child's needs.
Here is how to make that concrete:
Be specific about what you are asking for. A request has to distinguish between legal custody, which is decision-making, and physical custody. California's court self-help materials say so directly.
If you've done hard work on yourself, show it. For a parent in recovery, one guide suggests detailing completed programs, counseling, and passed tests, then attaching proof such as certificates and sponsor letters.
Your child's preference can matter, but age counts. Courts are more likely to consider the preference of an older child, such as a 13-year-old, than that of a 5- or 6-year-old.
Kids also know more than the paperwork suggests. Whatever you write, keep in mind that your child may someday learn what was said about their other parent. Write only what you'd be willing to have them read.
Start with the court's caption and the real details. Replace every placeholder with real names, addresses, dates, case numbers, and the correct title for the judge. A sample letter uses case number 24-FC-1182 and an address to "The Honorable Judge Smith." Those are illustrations, and yours will have your own details.
Numbered paragraphs help the judge and the attorneys point to specific facts. Use clear headings. Close with the statement under penalty of perjury that your state requires. The sample declarations cited here use California's version.
Length limits differ by state:
Check your own state's rules and your local court's rules before you write. If an order already exists, get the latest copy from the clerk's office first. In Sonoma County, California, for example, that office is at 3055 Cleveland Ave., Santa Rosa.
Attach proof, label each item, and say what it shows. Useful exhibits include:
Here are the kinds of records that tend to help:
Protect private information. If you attach pay stubs or bank statements, redact the Social Security numbers and account numbers. This advice comes from a Colorado family law firm. Check your own court's rules on sensitive records.
A good character letter comes from someone who has watched you parent. The writer should say who they are and how long they've known you. A sample letter says the writer has known the parent for six years. The writer should describe specific moments they saw, such as how you handled a hard evening or a tantrum, rather than general praise. They should also leave the other parent out of it. One guide says teachers and other professionals outside the family carry weight because they're neutral. That is a view, not a rule.
These letters shouldn't be mailed to the judge's chambers either. They are collected and filed through the formal process, usually by a lawyer. Ask your writers to follow the same rule you do: facts, not opinions.
Here is the path for a parent without a lawyer:
Sending a letter straight to the judge isn't the only option. You also don't need to stay silent. A filed, served, specific declaration is how a parent speaks to the court, and it is the one version of your letter that a judge is allowed to read.