{
  "id": "citizenship-date",
  "version": "31ce4fd10d50",
  "status": "published",
  "name": "Citizenship Date Calculator",
  "question": "When can a green card holder apply?",
  "summary": "Works out the earliest date a green card holder can file for U.S. citizenship (Form N-400): 90 days before the 5-year or 3-year resident date, and the days left.",
  "category": "days",
  "subcategory": "dates",
  "url": "https://www.acalculator.org/days/citizenship-date-calculator",
  "markdown": "https://www.acalculator.org/days/citizenship-date-calculator.md",
  "kind": "function",
  "method": "residence date = resident since + 5 years (or 3); earliest filing date = residence date − 90 days.",
  "assumptions": [
    "Only the residence date is checked. You must also meet physical presence, 3 months in your state or district, good moral character and the other requirements.",
    "A February 29 resident date reaches its anniversary on February 28 in a common year.",
    "Long trips abroad can break continuous residence and move the date; this page does not count trips."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "since": {
        "title": "Resident since",
        "description": "The “Resident Since” date on your green card (permanent resident card).",
        "type": "string",
        "format": "date"
      },
      "yrs": {
        "title": "Residence period",
        "description": "5 years for most permanent residents; 3 years if you are married to and living with a U.S. citizen.",
        "type": "string",
        "enum": [
          "5",
          "3"
        ]
      },
      "on": {
        "title": "Count from",
        "description": "The date to count the days from. Today, unless you change it.",
        "type": "string",
        "format": "date"
      }
    }
  },
  "outputs": {
    "file": {
      "label": "Earliest filing date",
      "description": "Resident since + 5 or 3 years − 90 days: the first day USCIS accepts Form N-400.",
      "format": "date-long"
    },
    "anniversary": {
      "label": "Residence period met",
      "description": "Resident since + 5 or 3 years.",
      "format": "date-long"
    },
    "days": {
      "label": "Days until you can file",
      "description": "Days from the count-from date to the earliest filing date; 0 when you can file now.",
      "format": "integer"
    },
    "status": {
      "label": "Status",
      "description": "Whether you can file on the count-from date.",
      "format": "text"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "since": "2022-03-15",
      "yrs": "5",
      "on": "2026-10-05"
    },
    "outputs": {
      "file": "2026-12-15",
      "anniversary": "2027-03-15",
      "days": 71,
      "status": "Not yet: 71 days to go"
    },
    "text": "With a green card dated March 15, 2022, you can file for citizenship from Tuesday, December 15, 2026."
  },
  "examples": [
    {
      "given": {
        "since": "2022-03-15",
        "yrs": "5",
        "on": "2026-10-05"
      },
      "expect": {
        "anniversary": "2027-03-15",
        "file": "2026-12-15",
        "days": 71,
        "status": "Not yet: 71 days to go"
      },
      "source": "USCIS, Early Filing Calculator (file up to 90 days before you reach the 5-year or 3-year permanent resident date), https://www.uscis.gov/archive/uscis-early-filing-calculator (retrieved 2026-10-05); hand calculation in content.mdx; Python: date(2027,3,15) − timedelta(90)"
    },
    {
      "given": {
        "since": "2023-06-01",
        "yrs": "3",
        "on": "2026-10-05"
      },
      "expect": {
        "anniversary": "2026-06-01",
        "file": "2026-03-03",
        "days": 0
      },
      "source": "USCIS, Early Filing Calculator (file up to 90 days before you reach the 5-year or 3-year permanent resident date), https://www.uscis.gov/archive/uscis-early-filing-calculator (retrieved 2026-10-05); 8 CFR 334.2(b): an application may be filed up to 90 days before the end of the required period of residence, https://www.law.cornell.edu/cfr/text/8/334.2 (retrieved 2026-10-05); hand calculation in content.mdx"
    },
    {
      "given": {
        "since": "2020-02-29",
        "yrs": "5",
        "on": "2024-01-01"
      },
      "expect": {
        "anniversary": "2025-02-28",
        "file": "2024-11-30",
        "days": 334
      },
      "source": "hand calculation in content.mdx; USCIS, Early Filing Calculator (file up to 90 days before you reach the 5-year or 3-year permanent resident date), https://www.uscis.gov/archive/uscis-early-filing-calculator (retrieved 2026-10-05)"
    }
  ],
  "sources": [
    "USCIS, Early Filing Calculator: file up to 90 days before reaching the 5-year or 3-year permanent resident date. https://www.uscis.gov/archive/uscis-early-filing-calculator (retrieved 2026-10-05)",
    "8 CFR 334.2(b): filing up to 90 days before the end of the required period of residence. https://www.law.cornell.edu/cfr/text/8/334.2 (retrieved 2026-10-05)",
    "USCIS, I am a Lawful Permanent Resident of 5 Years: the other requirements. https://www.uscis.gov/citizenship/learn-about-citizenship/citizenship-and-naturalization/i-am-a-lawful-permanent-resident-of-5-years (retrieved 2026-10-05)"
  ],
  "related": [
    "date",
    "days-from-today",
    "schengen"
  ],
  "changelog": []
}
