Two people can walk out of the same courthouse, over the same relationship, holding two functionally different pieces of paper: one from Family Court, one out of a criminal part. Most people never get told which one they're holding, what it actually restricts, or that breaking it is its own separate crime, on top of whatever case is already pending.
Where a criminal court order of protection comes from
New York Criminal Procedure Law § 530.12 governs orders of protection tied to a pending criminal case between spouses, former spouses, parents and children, or other members of the same family or household. The court can issue a temporary order of protection as a condition of bail, of release on recognizance, or of an adjournment in contemplation of dismissal, while the underlying criminal case is still active; see How Bail Actually Gets Set in New York After Bail Reform for how those release conditions get decided more broadly. It can even be issued ex parte, meaning without the defendant present, once an accusatory instrument has been filed and good cause is shown.
A temporary order can require someone to stay away from a home, school, or workplace, to have no contact at all, to refrain from harassing or threatening the protected person, to give up firearms, or to comply with a list of other specific conditions written into the order itself. Read the order. What it actually restricts is not always what someone assumes it restricts.
Criminal court order vs. Family Court order
A Family Court order of protection comes out of a civil case, started by filing a Family Offense Petition, with the goal of stopping the abuse rather than punishing anyone. A criminal court order comes out of a case the District Attorney is prosecuting on the state's behalf, aimed at prosecution and punishment if there's a conviction. Both can exist on the same relationship at the same time, in which case the case can be sent to a specialized Integrated Domestic Violence Court. Source: New York Courts, "Domestic Violence Order of Protection Basics."
How long it lasts after a conviction
If the case ends in a conviction, the court can enter an order of protection at sentencing, and its length depends on the conviction level. Under the current version of CPL 530.12, a felony conviction can carry an order lasting up to eight years from sentencing, a class A misdemeanor up to five years, and any other offense up to two years, each measured either from the sentencing date or from the expiration of the sentence actually imposed, whichever runs longer. This durational structure is itself scheduled to change under a further amendment set to take effect September 1, 2027, so the exact number tied to a given case is worth confirming against the version of the law in effect on the sentencing date.
What happens if it's violated
Violating an order of protection is a separate criminal charge from whatever case produced the order in the first place, and a conviction on the original case doesn't erase or reduce that separate exposure. Under Penal Law § 215.50, intentionally disobeying a court order, including an order of protection, is criminal contempt in the second degree, a class A misdemeanor carrying up to a year in jail. If someone has a prior contempt conviction for violating an order of protection within the preceding five years, or the violation involves displaying a weapon, physical menace, or repeated threatening contact, it can be charged as criminal contempt in the first degree under Penal Law § 215.51, a class E felony.
The exact question to ask
"What specifically does this order prohibit: is this a full stay-away order, or a limited order that allows some contact?" Get the answer in writing, not just spoken in the courtroom hallway. People get re-arrested on a separate contempt charge over conduct they genuinely didn't realize was prohibited, and that new charge does not make the original case go away. It stacks on top of it.
An order of protection is not paperwork to skim and set aside. Know exactly what it says, know how long it runs, and know that violating it, even by accident, opens a second criminal exposure layered on the first.