CINXE.COM

How and when to apply for Medicare | USAGov

<!DOCTYPE html> <html lang="en" dir="ltr"> <head> <link rel="preconnect" href="https://script.crazyegg.com" crossorigin> <link rel="preconnect" href="https://www.googletagmanager.com" crossorigin> <meta charset="utf-8" /> <meta name="MobileOptimized" content="width" /> <meta name="HandheldFriendly" content="true" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="alternate" hreflang="es" href="https://www.usa.gov/es/seguros-medicos-medicare" data-type="altlang" /> <link rel="alternate" hreflang="en" href="https://www.usa.gov/medicare" data-type="conlang" /> <link rel="canonical" href="https://www.usa.gov/medicare" /> <title>How and when to apply for Medicare | USAGov</title> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/ajax-progress.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/align.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/autocomplete-loading.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/fieldgroup.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/container-inline.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/clearfix.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/details.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/hidden.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/item-list.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/js.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/nowrap.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/position-container.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/progress.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/reset-appearance.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/resize.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/sticky-header.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-counter.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-report-counters.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/system-status-report-general-info.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tabledrag.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tablesort.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/system/css/components/tree-child.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/views/css/views.module.css?snl7cl" /> <link rel="stylesheet" media="all" href="/core/modules/filter/css/filter.caption.css?snl7cl" /> <link rel="stylesheet" media="all" href="/modules/contrib/entity_embed/css/entity_embed.filter.caption.css?snl7cl" /> <link rel="stylesheet" media="all" href="/modules/contrib/uswds_paragraph_components/modules/uswds_paragraph_components_cards/css/uswds-paragraph-components-cards.css?snl7cl" /> <link rel="stylesheet" media="all" href="/modules/contrib/paragraphs/css/paragraphs.unpublished.css?snl7cl" /> <link rel="stylesheet" media="all" href="/modules/custom/usa_admin_styles/css/usa_admin_styles.css?snl7cl" /> <link rel="stylesheet" media="all" href="/themes/custom/usagov/css/styles.css?snl7cl" /> <script id="taxonomy-data"> dataLayer = [{ "nodeID": "93", "language": "en", "homepageTest": "not_homepage", "basicPagesubType": "Standard Page", "contentType": "basic_page", "Page_Type": "Content Page", "Taxonomy_Text_1": "Home", "Taxonomy_Text_2": "Health", "Taxonomy_Text_3": "Health insurance", "Taxonomy_Text_4": "Medicare", "Taxonomy_Text_5": "Medicare", "Taxonomy_Text_6": "Medicare", "Taxonomy_URL_1": "/", "Taxonomy_URL_2": "/health", "Taxonomy_URL_3": "/health-insurance", "Taxonomy_URL_4": "/medicare", "Taxonomy_URL_5": "/medicare", "Taxonomy_URL_6": "/medicare", "hasBenefitCategory": true, "benefitCategories": "Disabilities; Health; Retirement and seniors" }]; </script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-W8LW6DB');</script> <!-- End Google Tag Manager --> <meta name="description" content="Learn how Medicare works for people 65 and older or with a disability. See if you are eligible, how to enroll, and locate a Medicare-certified provider." /> <!-- Favicons --> <link rel="icon" href="/themes/custom/usagov/images/Favicon_USAGov.png"> <link rel="apple-touch-icon-precomposed" href="/themes/custom/usagov/images/Favicon_USAGov.png"> <!-- Social Media --> <meta property="og:url" content="https://www.usa.gov/medicare" /> <meta property="og:type" content="website" /> <meta property="og:title" content="How and when to apply for Medicare | USAGov" /> <meta property="og:description" content="Learn how Medicare works for people 65 and older or with a disability. See if you are eligible, how to enroll, and locate a Medicare-certified provider." /> <meta property="og:image" content="https://www.usa.gov/themes/custom/usagov/images/Logo_USAGov.png" /> <meta property="og:image:secure_url" content="https://www.usa.gov/themes/custom/usagov/images/Logo_USAGov.png" /> <meta name="referrer" content="no-referrer-when-downgrade" /> <!-- End Social Media --> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Organization", "url": "https://usa.gov/", "logo": "https://www.usa.gov/themes/custom/usagov/images/Logo_USAGov.png" } </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [ { "@type": "Question", "name": "What is Medicare, and how does it work?", "acceptedAnswer": { "@type": "Answer", "text": "<p>Medicare is the federal health insurance program for people who are 65 and over. If you are under 65, you may be eligible to get Medicare earlier if you have a disability, End-Stage Renal Disease (ESRD), or ALS (Lou Gehrig’s Disease).</p><p>Medicare is divided into four parts:</p><ul><li><a href=\"https://www.medicare.gov/what-medicare-covers/what-part-a-covers\">Medicare Part A</a> is insurance for hospitalization, home or skilled nursing, and hospice.</li><li><a href=\"https://www.medicare.gov/what-medicare-covers/what-part-b-covers\">Medicare Part B</a> is medical insurance. <ul><li><a href=\"https://www.medicare.gov/basics/get-started-with-medicare/sign-up/ready-to-sign-up-for-part-a-part-b/how-to-drop-part-a-part-b\">Learn about canceling Medicare Part A or Part B coverage</a>, including its risks. Or, if you are ready to cancel your coverage, you can submit <a href=\"https://www.cms.gov/medicare/cms-forms/cms-forms/downloads/cms1763.pdf\">CMS Form 1763</a> to your local Social Security office.</li></ul></li><li><a href=\"https://www.medicare.gov/sign-upchange-plans/types-of-medicare-health-plans/medicare-advantage-plans/how-do-medicare-advantage-plans-work\">Medicare Part C (Medicare Advantage Plans)</a> is a private insurance option that covers hospital and medical costs.</li><li><a href=\"https://www.medicare.gov/drug-coverage-part-d\">Medicare Part D</a> covers prescription medications.</li></ul><p><a href=\"https://www.medicare.gov/basics/get-started-with-medicare\">Learn more about Medicare, including:</a></p><ul><li>How it works</li><li>How to prepare to sign up and submit a Medicare application</li></ul><p><a href=\"https://www.medicare.gov/basics/costs/medicare-costs\">Find out what Medicare costs</a> based on what coverage you choose.</p>" } }, { "@type": "Question", "name": "Medicare enrollment in your 60s", "acceptedAnswer": { "@type": "Answer", "text": "<p>There are several ways to enroll in Medicare, whether you plan to retire or keep working:</p><ul><li>If you begin receiving Social Security retirement benefits between age 62 and up to 4 months before turning 65, you will be automatically enrolled in Medicare Part A and Part B when you turn 65. </li><li>If you apply for Social Security 3 months before you turn 65 or later, you can sign up for Medicare when you apply for Social Security. <ul><li>The Initial Enrollment Period to sign up for Medicare begins 3 months before you turn 65 and ends 3 months after the month you turn 65 — a total of 7 months. You may have to pay a penalty if you miss your Initial Enrollment Period.</li></ul></li><li>If you are not ready to receive Social Security benefits at 65 because you are still working, you can apply online for Medicare only. Or you may be able to wait until you retire to sign up during a special enrollment period. <a href=\"https://www.medicare.gov/basics/get-started-with-medicare/medicare-basics/working-past-65\">Learn more about how Medicare works if you are employed past age 65.</a></li></ul><p><a href=\"https://www.medicare.gov/basics/get-started-with-medicare/sign-up/when-does-medicare-coverage-start\">Read this important information explaining when to sign up for Medicare based on your situation.</a></p><p><a class=\"usa-button usa-button--secondary usa-button--big\" href=\"https://www.ssa.gov/medicare/sign-up\">Sign up for Medicare</a></p>" } }, { "@type": "Question", "name": "Receiving Medicare under age 65 if you have a disability", "acceptedAnswer": { "@type": "Answer", "text": "<ul> <li>If you receive Social Security disability benefits, you will automatically begin receiving Medicare Parts A and B after 24 months.</li> <li>If you have Lou Gehrig's Disease (ALS), you will receive Medicare Parts A and B immediately when you enroll in Social Security disability benefits. <a href=\"https://secure.ssa.gov/ICON/main.jsp\">Find and contact your Social Security Office to apply.</a></li> <li>If you have End-Stage Renal Disease (ESRD), <a href=\"https://www.medicare.gov/basics/end-stage-renal-disease\">learn about Medicare coverage and enrollment</a>.</li> </ul>" } }, { "@type": "Question", "name": "Find a doctor, care provider, or hospital that accepts Medicare", "acceptedAnswer": { "@type": "Answer", "text": "<p>Many types of health care providers accept Medicare. This includes doctors, hospitals, nursing homes, and in-home care providers.</p><p>Use your ZIP Code to <a href=\"https://www.medicare.gov/care-compare/#search\">find a Medicare-certified provider near you</a>.</p>" } }, { "@type": "Question", "name": "Contact Medicare about your benefits", "acceptedAnswer": { "@type": "Answer", "text": "<p><a href=\"https://www.medicare.gov/about-us/contact-medicare\">Find out how to contact Medicare</a> with questions about your:</p><ul><li>Claims</li><li>Medical records</li><li>Expenses</li></ul>" } }, { "@type": "Question", "name": "Get a Medicare card replacement", "acceptedAnswer": { "@type": "Answer", "text": "<p>Learn what steps to take to <a href=\"https://www.medicare.gov/basics/get-started-with-medicare/using-medicare/your-medicare-card\">replace your Medicare card if</a>:</p><ul><li>It is lost, stolen, or destroyed</li><li>You have changed your name</li></ul>" } }, { "@type": "Question", "name": "Get help paying for Medicare", "acceptedAnswer": { "@type": "Answer", "text": "<p>The Medicare Savings Programs include 4 options that can help you pay for Medicare expenses:</p><ul><li>Qualified Medicare Beneficiary (QMB) program - Parts A and B premiums, deductibles, coinsurance, and copayments</li><li>Specified Low-Income Medicare Beneficiary (SLMB) program - Part B premiums</li><li>Qualifying Individual (QI) program - Part B premiums</li><li>Qualified Disabled &amp; Working Individual (QDWI) program - Part A premiums</li></ul><p><a href=\"https://www.medicare.gov/basics/costs/help/medicare-savings-programs\">Learn more about the Medicare Savings Programs</a>, including what income and asset limits determine eligibility.</p>" } } ] } </script> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript><iframe title="GTM" sandbox src="https://www.googletagmanager.com/ns.html?id=GTM-W8LW6DB" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <a href="#skip-to-h1" class="usa-skipnav usa-sr-only focusable"> Skip to main content </a> <div class="usa-overlay"></div> <header class="usa-header usa-header--extended" id="header"> <div class="usa-banner-inner"> <div> <section class="usa-banner" aria-label="An official website of the United States government" id="usagov-banner"> <div class="usa-accordion"> <div class="usa-banner__header" role="banner"> <div class="usa-banner__inner"> <div class="grid-col-auto"> <img aria-hidden="true" class="usa-banner__header-flag" src="/themes/custom/usagov/images/favicon-57.png" alt="U.S Flag" /> </div> <div class="grid-col-fill tablet:grid-col-auto"> <p class="usa-banner__header-text"> An official website of the United States government </p> <p class="usa-banner__header-action usa-banner__header-action-mobile">Here&#039;s how you know</p> <svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 24 24" width="16" class="usa-banner_expand_arrow usa-banner__header-action"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/> </svg> </div> <button type="button" class="usa-accordion__button usa-banner__button" aria-expanded="false" aria-controls="gov-banner-default"> <span class="usa-banner__button-text">Here&#039;s how you know</span> <svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 24 24" width="16" class="usa-banner_expand_arrow usa-banner__button-text"> <path d="M0 0h24v24H0z" fill="none"/> <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"/> </svg> </button> </div> </div> <div class="usa-banner__content usa-accordion__content" id="gov-banner-default"> <div class="grid-row grid-gap-lg"> <div class="usa-banner__guidance tablet:grid-col-6"> <img class="usa-banner__icon usa-media-block__img" src="/themes/custom/usagov/assets/img/icon-dot-gov.svg" alt="" aria-hidden="true" /> <div class="usa-media-block__body"> <p> <strong>Official websites use .gov</strong><br /> A <strong>.gov</strong> website belongs to an official government organization in the United States. </p> </div> </div> <div class="usa-banner__guidance tablet:grid-col-6"> <img class="usa-banner__icon usa-media-block__img" src="/themes/custom/usagov/assets/img/icon-https.svg" alt="" aria-hidden="true" /> <div class="usa-media-block__body"> <p> <strong>Secure .gov websites use HTTPS</strong><br /> A <strong>lock</strong> ( <span class="icon-lock"> <svg xmlns="http://www.w3.org/2000/svg" width="52" height="64" viewBox="0 0 52 64" class="usa-banner__lock-image" aria-labelledby="banner-lock-description-default" focusable="false"> <title id="banner-lock-title-default">Lock</title> <desc id="banner-lock-description-default">Locked padlock icon</desc> <path fill="#000000" fill-rule="evenodd" d="M26 0c10.493 0 19 8.507 19 19v9h3a4 4 0 0 1 4 4v28a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V32a4 4 0 0 1 4-4h3v-9C7 8.507 15.507 0 26 0zm0 8c-5.979 0-10.843 4.77-10.996 10.712L15 19v9h22v-9c0-6.075-4.925-11-11-11z" /> </svg> </span> ) or <strong>https://</strong> means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites. </p> </div> </div> </div> </div> </div> </section> <script> document.getElementById('gov-banner-default').setAttribute('hidden', 'until-found'); </script><div id="block-usagov-mobilemenublock" class="settings-tray-editable block block-usagov-menus block-usagov-mobile-menu-block" data-drupal-settingstray="editable"> <nav aria-label="Primary navigation" class="usa-nav usagov-mobile-menu"> <div class="usa-nav__inner"> <div class="usagov-mobile-menu-top"> <div class="usagov-mobile-menu-controls"> <a id="home-link-mobile-menu" href="/"> <svg class="usa-icon text-base-darkest"> <use xlink:href="/themes/custom/usagov/assets/img/sprite.svg#home"></use> </svg> Home </a> <button class="usa-nav__close"> <svg class="usa-icon text-base-darkest"> <use xlink:href="/themes/custom/usagov/assets/img/sprite.svg#highlight_off"></use> </svg> Close </button> </div> <div class="usa-nav__secondary"> <!-- Search Bar --> <form id="usagov_all_gov-mobile" class="usa-search usa-search--small" action="https://search.usa.gov/search" method="get" name="search_form" accept-charset="UTF-8" role="search"> <label id="top-srch-mobile-menu" class="usa-sr-only" for="search-field-small-mobile-menu">Search</label> <input id="affiliate-mobile-menu" name="affiliate" type="hidden" value="usagov_all_gov"> <input id="search-field-small-mobile-menu" class="usa-input text usagov-search-autocomplete ui-autocomplete-input" type="search" name="query" placeholder="Search all government" onfocus="this.placeholder" autocomplete="off" /> <button class="usa-button usagov-button" type="submit"> <img src="/themes/custom/usagov/components/searchbar/images/search--dark.svg" class="usa-search__submit-icon" alt="Search"> </button> </form> <span class="usa-nav__secondary-links"> <span id="top-phone-mobile-menu" class="usa-nav__secondary-item"> <a href="/phone" class="">1-844-USAGOV1</a> </span> </span> </div> </div> <ul class="navigation__items ancestors"> <li class="navigation__item umbrella"> <a href="/health">Health</a> </li> <li class="navigation__item"> <a href="/health-insurance">Health insurance</a> </li> <li class="navigation__item"> <ul class="navigation__items"> <li class="navigation__item sibling"> <a href="/medicaid-chip-insurance">Medicaid and CHIP</a> </li> <li class="navigation__item active"> <a href="#">Medicare</a> </li> <li class="navigation__item sibling"> <a href="/health-insurance-marketplace">Health Insurance Marketplace</a> </li> <li class="navigation__item sibling"> <a href="/cobra-health-insurance">COBRA insurance</a> </li> </ul> </li> </ul> </div> </nav> </div> <div class="field field--name-field-modal field--type-entity-reference-revisions field--label-hidden field__item"> <div class="paragraph paragraph--type--uswds-modal paragraph--view-mode--default paragraph--id--2532"> <a href="#paragraph--id--2532" class="usa-button usa-button--unstyled padding-105 text-center" aria-controls="paragraph--id--2532" data-open-modal hidden></a> </div> <div class="usa-modal" id="paragraph--id--2532" aria-labelledby="2532-heading" aria-describedby="2532-description" data-force-action hidden> <div class="usa-modal__content"> <div class="usa-modal__main"> <h1 class="usa-modal__heading" id="2532-heading"> Welcome to USA.gov </h1> <div id="2532-description" class="usa-prose"> <div class="field field--name-field-modal-body field--type-text-long field--label-hidden field__item"><p>Benefits.gov has been discontinued. USA.gov is the new centralized place for finding government benefits for health care, housing, food, unemployment, and more.</p></div> </div> <div class="usa-modal__footer"> <ul class="usa-button-group"> <li class="usa-button-group__item"> <button type="button" class="usa-button border border-ink hover:border" data-close-modal> Continue to USA.gov </button> </li> </ul> </div> </div> </div> </div> </div> <div data-modal-name="b-welcome-1899" data-modal-id="2532"></div> </div> </div> <div class="usa-navbar"> <div class="usa-logo" id="extended-logo"> <em class="usa-logo-text"> <a href="/" title="USAGov Logo"> <img src="/themes/custom/usagov/images/USAGov_logo_51px.png" srcset="/themes/custom/usagov/images/USAGov_Logo_80px.png 80w, /themes/custom/usagov/images/USAGov_Logo_51px.png 51w" sizes="(min-width: 1024px) 80px, 51px" alt="USAGov Logo"> </a> </em> </div> <div class="navbar-right"> <a href="/es/seguros-medicos-medicare" class="usa-button language-link" hreflang="es" role="button">Español</a> <button class="usa-menu-btn">Menu</button> <div class="usa-nav__secondary"> <span class="usa-nav__secondary-links"> <span id="top-phone" class="usa-nav__secondary-item"> <a href="/phone" style="white-space: nowrap;">Call us at 1-844-USAGOV1</a> </span> </span> <!-- Search Bar --> <form id="usagov_all_gov-desktop" class="usa-search usa-search--small" action="https://search.usa.gov/search" method="get" name="search_form" accept-charset="UTF-8" role="search"> <label id="top-srch" class="usa-sr-only" for="search-field-small">Search</label> <input id="affiliate" name="affiliate" type="hidden" value="usagov_all_gov"> <input id="search-field-small" class="usa-input text usagov-search-autocomplete ui-autocomplete-input" type="search" name="query" placeholder="Search all government" onfocus="this.placeholder" autocomplete="off" /> <button class="usa-button usagov-button" type="submit"> <img src="/themes/custom/usagov/components/searchbar/images/search--dark.svg" class="usa-search__submit-icon" alt="Search"> </button> </form> </div> </div> </div> <nav aria-label="Primary navigation" class="usa-nav"> <div class="usa-nav__inner"> <button class="usa-nav__close"> <img src="/themes/custom/usagov/assets/img/usa-icons/close.svg" alt="Close"/> </button> <ul class="usa-nav__primary usa-accordion"> <li class="usa-nav__primary-item usa-nav___primary-item-smaller-padding"> <a href=/#all-topics-header class="usa-nav__link"> <span>All topics and services</span> </a> </li> <li class="usa-nav__primary-item usa-nav___primary-item-smaller-padding"> <a href=/about-the-us class="usa-nav__link"> <span>The U.S. and its government</span> </a> </li> <li class="usa-nav__primary-item usa-nav___primary-item-smaller-padding"> <a href=/benefits class="usa-nav__link"> <span>Government benefits</span> </a> </li> <li class="usa-nav__primary-item usa-nav___primary-item-smaller-padding"> <a href=/immigration-and-citizenship class="usa-nav__link"> <span>Immigration and U.S. citizenship</span> </a> </li> <li class="usa-nav__primary-item usa-nav___primary-item-smaller-padding"> <a href=/money class="usa-nav__link"> <span>Money and credit</span> </a> </li> <li class="usa-nav__primary-item usa-nav___primary-item-smaller-padding"> <a href=/travel class="usa-nav__link"> <span>Travel</span> </a> </li> <li class="usa-nav__primary-item usa-nav___primary-item-smaller-padding"> <a href=/voting-and-elections class="usa-nav__link"> <span>Voting and elections</span> </a> </li> </ul> </div> </nav> </header> <main class="main-content usa-layout-docs usa-section " id="main-content" data-pagetype="Standard Page"> <div class="grid-container"> <div class="grid-row breadcrumb-spacing"> <div> <div id="block-usagov-breadcrumbs" class="settings-tray-editable block block-system block-system-breadcrumb-block" data-drupal-settingstray="editable"> <nav class="margin-top-neg-3 mobile-lg:margin-top-2 tablet:margin-top-neg-3 desktop:margin-top-0 margin-bottom-2" aria-label="Breadcrumb"> <ol class="usa-breadcrumb__list" itemscope itemtype="http://schema.org/BreadcrumbList"> <li class="usa-breadcrumb__list-item " itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/" class="usa-breadcrumb__link" itemprop="item"> <span itemprop="name"> Home </span> </a> <meta itemprop="position" content="1" /> </li> <li class="usa-breadcrumb__list-item " itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/health" class="usa-breadcrumb__link" itemprop="item"> <span itemprop="name"> Health </span> </a> <meta itemprop="position" content="2" /> </li> <li class="usa-breadcrumb__list-item " itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <a href="/health-insurance" class="usa-breadcrumb__link" itemprop="item"> <span itemprop="name"> Health insurance </span> </a> <meta itemprop="position" content="3" /> </li> <li class="usa-breadcrumb__list-item usa-breadcrumb__currrent" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> <span itemprop="name">Medicare</span> <meta itemprop="position" content="4" /> </li> </ol> </nav> </div> </div> </div> <div class=""> <div data-drupal-messages-fallback class="hidden"></div> </div> <div class="grid-row grid-gap"> <aside class="usa-layout-docs__sidenav desktop:grid-col-4 layout-sidebar-first"> <div id="block-usagov-leftmenusidebarblock" class="settings-tray-editable block block-usagov-menus block-usagov-sidebarfirst-block" data-drupal-settingstray="editable"> <nav aria-label="Secondary"> <ul class="usa-sidenav"> <li class="usa-sidenav__item"> <a href="/health" class="active-trail"> Health </a> <ul class="usa-sidenav__sublist"> <li class="usa-sidenav__item"> <a href="/health-insurance" class="active-trail"> Health insurance </a> <ul class="usa-sidenav__sublist"> <li class="usa-sidenav__item"> <a href="/medicaid-chip-insurance"> Medicaid and CHIP </a> </li> <li class="usa-sidenav__item"> <div class="active-trail usa-current"> <p class="usa-sr-only">current page</p> Medicare </div> </li> <li class="usa-sidenav__item"> <a href="/health-insurance-marketplace"> Health Insurance Marketplace </a> </li> <li class="usa-sidenav__item"> <a href="/cobra-health-insurance"> COBRA insurance </a> </li> </ul> </li> <li class="usa-sidenav__item"> <a href="/help-with-medical-bills"> Help with medical expenses </a> </li> <li class="usa-sidenav__item"> <a href="/mental-health"> Mental health </a> </li> <li class="usa-sidenav__item"> <a href="/substance-abuse"> Substance abuse </a> </li> <li class="usa-sidenav__item"> <a href="/covid-tests-vaccinations"> COVID-19 testing and vaccinations </a> </li> <li class="usa-sidenav__item"> <a href="/health-information"> Health information from MedlinePlus </a> </li> <li class="usa-sidenav__item"> <a href="/state-health"> State health departments </a> </li> </ul> </li> </ul> </nav> </div> </aside> <div class="usa-layout-docs__main usa-prose desktop:grid-col-8"> <h1 class="text-red-50" id ="skip-to-h1" > <span>How and when to apply for Medicare</span> </h1> <div id="block-usagov-content" class="block block-system block-system-main-block"> <div class="content-wrapper"> <div class="usa-prose"> <p class="usa-intro"> Learn how Medicare works and how to sign up based on your situation. Find out where to get help with your benefits or replace your Medicare card. </p> </div> <div class="usa-prose body-copy"><h2><strong>What is Medicare, and how does it work?</strong></h2><p>Medicare is the federal health insurance program for people who are 65 and over. If you are under 65, you may be eligible to get Medicare earlier if you have a disability, End-Stage Renal Disease (ESRD), or ALS (Lou Gehrig’s Disease).</p><p>Medicare is divided into four parts:</p><ul><li><a href="https://www.medicare.gov/what-medicare-covers/what-part-a-covers">Medicare Part A</a> is insurance for hospitalization, home or skilled nursing, and hospice.</li><li><a href="https://www.medicare.gov/what-medicare-covers/what-part-b-covers">Medicare Part B</a> is medical insurance.&nbsp;<ul><li><a href="https://www.medicare.gov/basics/get-started-with-medicare/sign-up/ready-to-sign-up-for-part-a-part-b/how-to-drop-part-a-part-b">Learn about canceling Medicare Part A or Part B coverage</a>, including its risks. Or, if you are ready to cancel your coverage, you can submit <a href="https://www.cms.gov/medicare/cms-forms/cms-forms/downloads/cms1763.pdf">CMS Form 1763</a> to your local Social Security office.</li></ul></li><li><a href="https://www.medicare.gov/sign-upchange-plans/types-of-medicare-health-plans/medicare-advantage-plans/how-do-medicare-advantage-plans-work">Medicare Part C (Medicare Advantage Plans)</a> is a private insurance option that covers hospital and medical costs.</li><li><a href="https://www.medicare.gov/drug-coverage-part-d">Medicare Part D</a> covers prescription medications.</li></ul><p><a href="https://www.medicare.gov/basics/get-started-with-medicare">Learn more about Medicare, including:</a></p><ul><li>How it works</li><li>How to prepare to sign up and submit a Medicare application</li></ul><p><a href="https://www.medicare.gov/basics/costs/medicare-costs">Find out what Medicare costs</a> based on what coverage you choose.</p><h2><strong>Medicare enrollment in your 60s</strong></h2><p>There are several ways to enroll in Medicare, whether you plan to retire or keep working:</p><ul><li>If you begin receiving Social Security retirement benefits between age 62 and up to 4 months before turning 65, you will be automatically enrolled in Medicare Part A and Part B when you turn 65.&nbsp;</li><li>If you apply for Social Security 3 months before you turn 65 or later, you can sign up for Medicare when you apply for Social Security.&nbsp;<ul><li>The Initial Enrollment Period to sign up for Medicare begins 3 months before you turn 65 and ends 3 months after the month you turn 65 — a total of 7 months. You may have to pay a penalty if you miss your Initial Enrollment Period.</li></ul></li><li>If you are not ready to receive Social Security benefits at 65 because you are still working, you can apply online for Medicare only. Or you may be able to wait until you retire to sign up during a special enrollment period. <a href="https://www.medicare.gov/basics/get-started-with-medicare/medicare-basics/working-past-65">Learn more about how Medicare works if you are employed past age 65.</a></li></ul><p><a href="https://www.medicare.gov/basics/get-started-with-medicare/sign-up/when-does-medicare-coverage-start">Read this important information explaining when to sign up for Medicare based on your situation.</a></p><p><a class="usa-button usa-button--secondary usa-button--big" href="https://www.ssa.gov/medicare/sign-up">Sign up for Medicare</a></p><div data-embed-button="paragraphs" data-paragraph-id="5da71720-4885-4805-9ac0-aa6f13982d4b" data-paragraph-revision-id="886" data-entity-label="USWDS Components" data-langcode="en" data-view-mode="embed" data-entity-embed-display="entity_reference_revisions:entity_reference_revisions_entity_view" data-entity-type="embedded_paragraphs" data-entity-uuid="5da71720-4885-4805-9ac0-aa6f13982d4b" data-entity-embed-display-settings="[]" class="embedded-entity"> <div class="field field--name-paragraph field--type-entity-reference-revisions field--label-hidden field__item"> <div class="usa-accordion paragraph paragraph--type--uswds-accordion paragraph--view-mode--embed paragraph--id--180"> <!-- Use the accurate heading level to maintain the document outline --> <h2 class="usa-accordion__heading"> <button class="usa-accordion__button" aria-expanded="false" aria-controls="180-0"> Receiving Medicare under age 65 if you have a disability </button> </h2> <div id="180-0" class="usa-accordion__content usa-prose" hidden="until-found"> <div class="paragraph paragraph--type--text-field paragraph--view-mode--default paragraph--id--178"> <div class="paragraph__column"> <div class="field field--name-field-text field--type-text-long field--label-hidden field__item"><ul> <li>If you receive Social Security disability benefits, you will automatically begin receiving Medicare Parts A and B after 24 months.</li> <li>If you have Lou Gehrig's Disease (ALS), you will receive Medicare Parts A and B immediately when you enroll in Social Security disability benefits. <a href="https://secure.ssa.gov/ICON/main.jsp">Find and contact your Social Security Office to apply.</a></li> <li>If you have End-Stage Renal Disease (ESRD), <a href="https://www.medicare.gov/basics/end-stage-renal-disease">learn about Medicare coverage and enrollment</a>.</li> </ul></div> </div> </div> </div> <h2 class="usa-accordion__heading"> <button class="usa-accordion__button" aria-expanded="false" aria-controls="180-1"> Find a doctor, care provider, or hospital that accepts Medicare </button> </h2> <div id="180-1" class="usa-accordion__content usa-prose" hidden="until-found"> <div class="paragraph paragraph--type--text-field paragraph--view-mode--default paragraph--id--1644"> <div class="paragraph__column"> <div class="field field--name-field-text field--type-text-long field--label-hidden field__item"><p>Many types of health care providers accept Medicare. This includes doctors, hospitals, nursing homes, and in-home care providers.</p> <p>Use your ZIP Code to <a href="https://www.medicare.gov/care-compare/#search">find a Medicare-certified provider near you</a>.</p></div> </div> </div> </div> <h2 class="usa-accordion__heading"> <button class="usa-accordion__button" aria-expanded="false" aria-controls="180-2"> Contact Medicare about your benefits </button> </h2> <div id="180-2" class="usa-accordion__content usa-prose" hidden="until-found"> <div class="paragraph paragraph--type--text-field paragraph--view-mode--default paragraph--id--2472"> <div class="paragraph__column"> <div class="field field--name-field-text field--type-text-long field--label-hidden field__item"><p><a href="https://www.medicare.gov/about-us/contact-medicare">Find out how to contact Medicare</a> with questions about your:</p><ul><li>Claims</li><li>Medical records</li><li>Expenses</li></ul></div> </div> </div> </div> <h2 class="usa-accordion__heading"> <button class="usa-accordion__button" aria-expanded="false" aria-controls="180-3"> Get a Medicare card replacement </button> </h2> <div id="180-3" class="usa-accordion__content usa-prose" hidden="until-found"> <div class="paragraph paragraph--type--text-field paragraph--view-mode--default paragraph--id--2474"> <div class="paragraph__column"> <div class="field field--name-field-text field--type-text-long field--label-hidden field__item"><p>Learn what steps to take to <a href="https://www.medicare.gov/basics/get-started-with-medicare/using-medicare/your-medicare-card">replace your Medicare card if</a>:</p><ul><li>It is lost, stolen, or destroyed</li><li>You have changed your name</li></ul></div> </div> </div> </div> <h2 class="usa-accordion__heading"> <button class="usa-accordion__button" aria-expanded="false" aria-controls="180-4"> Get help paying for Medicare </button> </h2> <div id="180-4" class="usa-accordion__content usa-prose" hidden="until-found"> <div class="paragraph paragraph--type--text-field paragraph--view-mode--default paragraph--id--2476"> <div class="paragraph__column"> <div class="field field--name-field-text field--type-text-long field--label-hidden field__item"><p>The Medicare Savings Programs include 4 options that can help you pay for Medicare expenses:</p><ul><li>Qualified Medicare Beneficiary (QMB) program - Parts A and B premiums, deductibles, coinsurance, and copayments</li><li>Specified Low-Income Medicare Beneficiary (SLMB) program - Part B premiums</li><li>Qualifying Individual (QI) program - Part B premiums</li><li>Qualified Disabled &amp; Working Individual (QDWI) program - Part A premiums</li></ul><p><a href="https://www.medicare.gov/basics/costs/help/medicare-savings-programs">Learn more about the Medicare Savings Programs</a>, including what income and asset limits determine eligibility.</p></div> </div> </div> </div> </div> </div> </div> <div data-embed-button="paragraphs" data-paragraph-id="03a28ce8-22d9-4166-acf8-6592e8f8dbf6" data-entity-label="USWDS Components" data-langcode="en" data-view-mode="embed" data-entity-embed-display="entity_reference_revisions:entity_reference_revisions_entity_view" data-entity-type="embedded_paragraphs" data-entity-uuid="03a28ce8-22d9-4166-acf8-6592e8f8dbf6" data-entity-embed-display-settings="[]" class="embedded-entity"> <div class="field field--name-paragraph field--type-entity-reference-revisions field--label-hidden field__item"> <div class="paragraph paragraph--type--uswds-card-group-flag paragraph--view-mode--embed paragraph--id--1324"> <ul class="usa-card-group"> <li class="grid-col-12 usa-card usa-card--flag"> <div class="usa-card__container make-link"> <div class="usa-card__media"> <div class="usa-card__img"> <div class="field field--name-field-card-image field--type-entity-reference field--label-hidden field__item"><div> <div class="field field--name-field-media-image field--type-image field--label-visually_hidden"> <div class="title usa-sr-only">Image</div> <div class="field__item"> <img loading="lazy" src="https://www.usa.gov/s3/files/styles/large/public/2023-01/Banner_img_Turning_65_en.png?itok=G1kcGxsy" width="480" height="148" alt="Two older men walking behind two older women smiling."> </div> </div> </div> </div> </div> </div> <div class="usa-card__body"> <p>Find more tips and programs to help you plan for retirement.</p> </div> <header class="usa-card__header"> <h2 class="usa-card__heading"> <a href="/approaching-retirement" class="text-no-underline card-link" title> Approaching retirement </a> </h2> </header> </div> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="views-element-container settings-tray-editable block block-views block-views-blockwizard-step-test-block-1" id="block-views-block-wizard-step-test-block-1" data-drupal-settingstray="editable"> <div><div class="js-view-dom-id-d724c6f2263f36945f2a1ebbcc14a6491da480eb4657cc77dd5b48bded555368"> </div> </div> </div> <div class="additional_body_info"> <p id="last-updated">LAST UPDATED: November 19, 2024 </p> <div id="sm-share"> <span id="share-page">SHARE THIS PAGE:</span> <div class="share-icons"> <a aria-labelledby="share-page fb" href="https://www.facebook.com/sharer/sharer.php?u=https://www.usa.gov/medicare&v=3"> <div class="share-icon-div"> <img class="share-icon" id="fb" src="/themes/custom/usagov/images/social-media-icons/Facebook_Icon.svg" alt="Facebook"/> </div> </a> <a aria-labelledby="share-page twr" href="https://twitter.com/intent/tweet?source=webclient&amp;text=https://www.usa.gov/medicare"> <div class="share-icon-div"> <img class="share-icon" id="twr" src="/themes/custom/usagov/images/social-media-icons/X_Twitter_Icon.svg " alt="X Twitter USAGov"/> </div> </a> <a aria-labelledby="share-page em" href="mailto:?subject=https://www.usa.gov/medicare"> <div class="share-icon-div"> <img class="share-icon" id="em" src="/themes/custom/usagov/images/social-media-icons/Email_Icon.svg" alt="Email"/> </div> </a> </div> </div> <div class="border-top-05 border-base-lightest"></div> <div id="question-box"> <div class="border-left-1 padding-left-205 border-cyan-10 margin-top-8 margin-bottom-9 padding-bottom-2"> <h2 class="font-family-heading margin-top-0"> Have a question? </h2> <p>Ask a real person any government-related question for free. They will get you the answer or let you know where to find it.</p> <div class="grid-row grid-gap"> <div class="tablet:grid-col-4 margin-bottom-2"> <a class="question-icon" href="/phone"> <img class="chat-icon" src="/themes/custom/usagov/images/ICONS_talk.png" alt="talk icon"> Call USAGov </a> </div> <div class="tablet:grid-col-8"> <a class="question-icon" href="/chat"> <img class="chat-icon" src="/themes/custom/usagov/images/ICONS_chat.png" alt="chat icon"> Chat with USAGov </a> </div> </div> </div> </div> <div id="pagesurvey-qual-container"></div> </div> </div> </div> </div> <a id="back-to-top" href="#main-content" aria-label="Back to top"> Top </a> </main> <footer class="usa-footer usa-footer--big"> <div class="usa-footer__primary-section"> <div class="grid-container"> <div class="grid-row grid-gap"> <div class="tablet:grid-col-8"> <nav class="usa-footer__nav" aria-label="Footer navigation"> <div class="grid-row grid-gap-4"> <div class="mobile-lg:grid-col-6 desktop:grid-col-3"> <section class=" usa-footer__primary-content usa-footer__primary-content--collapsible "> <h3 class="usa-gov-footer__primary-link">Government information</h3> <ul class="usa-list usa-list--unstyled"> <li class="usa-footer__secondary-link"> <a href="/#all-topics-header">All topics and services</a> </li> <li class="usa-footer__secondary-link"> <a href="/agency-index">Directory of U.S. government agencies and departments</a> </li> <li class="usa-footer__secondary-link"> <a href="/branches-of-government">Branches of government</a> </li> </ul> </section> </div> <div class="mobile-lg:grid-col-6 desktop:grid-col-3"> <section class=" usa-footer__primary-content usa-footer__primary-content--collapsible "> <h3 class="usa-gov-footer__primary-link">About us</h3> <ul class="usa-list usa-list--unstyled"> <li class="usa-footer__secondary-link ftr-list"> <a href="/about">About USAGov</a> </li> <li class="usa-footer__secondary-link"> <a href="/privacy-security">Privacy and security policies</a> </li> <li class="usa-footer__secondary-link"> <a href="/accessibility-policy">Accessibility policy</a> </li> <li class="usa-footer__secondary-link"> <a href="/site-issue-report-form">Report a website issue</a> </li> <li class="usa-footer__secondary-link"> <a href="/website-analytics/">Website usage data</a> </li> </ul> </section> </div> <div class="mobile-lg:grid-col-6 desktop:grid-col-3"> <section class=" usa-footer__primary-content usa-footer__primary-content--collapsible "> <h3 class="usa-gov-footer__primary-link">For federal agencies</h3> <ul class="usa-list usa-list--unstyled"> <li class="usa-footer__secondary-link"> <a href="/partner-with-usagov">Partner with us</a> </li> <li class="usa-footer__secondary-link"> <a href="https://blog.usa.gov/">Read our blog</a> </li> </ul> </section> </div> <div class="mobile-lg:grid-col-6 desktop:grid-col-3"> <section class=" usa-footer__primary-content usa-footer__primary-content--collapsible "> <h3 class="usa-gov-footer__primary-link">For media</h3> <ul class="usa-list usa-list--unstyled"> <li class="usa-footer__secondary-link ftr-list"> <a href="/outreach">USAGov Outreach</a> </li> <li class="usa-footer__secondary-link"> <a href="/features">Feature articles</a> </li> </ul> </section> </div> </div> </nav> </div> <div class="tablet:grid-col-4"> <div class="usa-sign-up"> <h4 class="usa-sign-up__heading"> Sign up to receive email updates </h4> <form class="usa-form" action="https://connect.usa.gov/subscribe" method="get"> <label class="usa-label" for="footer-email"> Enter your email </label> <input class="usa-input" id="footer-email" name="email" type="email"> <div class="footer-button-container"> <button class="usa-button footer-button" type="submit"> Sign up </button> </div> </form> </div> </div> </div> </div> </div> <script src="/themes/custom/usagov/scripts/newFooter.js" defer></script> <div class="usa-footer__secondary-section"> <div class="grid-container"> <div class="grid-row grid-gap"> <div class="usa-footer__logo grid-row mobile-lg:grid-col-6"> <div id="footer-phone"> <div class="mobile-lg:grid-col-auto"> <h4 class="usa-footer__logo-heading">USAGov Contact Center</h4> </div> <div class="mobile-lg:grid-col-auto"> <p class="footer-question">Ask USA.gov a question at</p> <address class="usa-footer__address"> <div class="usa-footer__contact-info"> <a href="/phone">1-844-USAGOV1 (1-844-872-4681)</a> </div> </address> </div> </div> </div> <div class="usa-footer__contact-links mobile-lg:grid-col-6"> <div class="footer-social-block"> <h4 class="usa-footer__contact-heading">Find us on social media</h4> <div class="usa-footer__social-links en-links grid-row grid-gap-1"> <div class="grid-col-auto"> <a class="usa-social-link" href="https://www.facebook.com/USAgov"> <img class="image-svg-test" src="/themes/custom/usagov/images/social-media-icons/Facebook_Icon.svg" alt="Facebook USAGov" loading="lazy"/> <span>Facebook</span> </a> </div> <div class="grid-col-auto"> <a class="usa-social-link" href="https://twitter.com/USAgov"> <img class="image-svg-test" src="/themes/custom/usagov/images/social-media-icons/X_Twitter_Icon.svg" alt="X Twitter USAGov" loading="lazy"/> <span>Twitter</span> </a> </div> <div class="grid-col-auto"> <a class="usa-social-link" href="https://www.youtube.com/usagov1"> <img class="image-svg-test" src="/themes/custom/usagov/images/social-media-icons/YouTube_Icon.svg" alt="Youtube USAGov" loading="lazy"/> <span>YouTube</span> </a> </div> <div class="grid-col-auto"> <a class="usa-social-link" href="https://www.instagram.com/usagov"> <img class="image-svg-test" src="/themes/custom/usagov/images/social-media-icons/Instagram_Icon.svg" alt="Instagram USAGov" loading="lazy"/> <span>Instagram</span> </a> </div> </div> </div> </div> </div> </div> </div> <div class="usa-identifier"> <section class="usa-identifier__section usa-identifier__section--usagov" aria-label="USAGov is the official guide to government information and services"> <div class="usa-identifier__container"> <section class="usa-identifier__identity" aria-label="An official website of the U.S. General Services Administration"> <p class="usa-identifier__identity-disclaimer">USAGov is the official guide to government information and services</p> <p class="usa-identifier__identity-disclaimer">An official website of the <a href="https://www.gsa.gov/">U.S. General Services Administration</a></p> </section> </div> </section> <nav class="usa-identifier__section usa-identifier__section--required-links" aria-label="Important links"> <div class="usa-identifier__container"> <ul class="usa-identifier__required-links-list"> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/website-information/accessibility-statement?footer=" class="usa-identifier__required-link usa-link"> GSA accessibility support </a> </li> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/website-information/website-policies#privacy" class="usa-identifier__required-link usa-link"> GSA privacy policy </a> </li> <li class="usa-identifier__required-links-item"> <a href="https://www.gsa.gov/reference/freedom-of-information-act-foia" class="usa-identifier__required-link usa-link"> FOIA requests </a> </li> </ul> </div> </nav> </div> </footer> <script type="application/json" data-drupal-selector="drupal-settings-json">{"path":{"baseUrl":"\/","pathPrefix":"","currentPath":"node\/93","currentPathIsAdmin":false,"isFront":false,"currentLanguage":"en"},"pluralDelimiter":"\u0003","suppressDeprecationErrors":true,"top_nav_menu":[{"\/#all-topics-header":"usa-nav__topics"},{"\/about-the-us":"usa-nav__about"},{"\/money":"usa-nav__money"},{"\/laws-and-legal-issues":"usa-nav__law"},{"\/scams-and-fraud":"usa-nav__scams"},{"\/benefits":"usa-nav_benefits"},{"\/housing-help":"usa-nav_housing"},{"\/immigration-and-citizenship":null},{"\/taxes":"usa-nav_taxes"},{"\/travel":"usa-nav_travel"},{"\/voting-and-elections":null}],"user":{"uid":0,"permissionsHash":"d1c04b126ff7c0e4a0c431854e2067a7a0d112dd891977ea8c3016e03dd27608"}}</script> <script src="/core/assets/vendor/jquery/jquery.min.js?v=3.7.1"></script> <script src="/core/assets/vendor/once/once.min.js?v=1.0.1"></script> <script src="/core/misc/drupalSettingsLoader.js?v=10.2.8"></script> <script src="/core/misc/drupal.js?v=10.2.8"></script> <script src="/core/misc/drupal.init.js?v=10.2.8"></script> <script src="/themes/custom/usagov/scripts/uswds.min.js?v=1"></script> <script src="/themes/custom/usagov/scripts/uswds-init.min.js?v=1"></script> <script src="/themes/custom/usagov/scripts/newFooter.js?v=1"></script> <script src="/themes/custom/usagov/scripts/phoneForMobile.js?v=1"></script> <script src="/themes/custom/usagov/scripts/callCenterWaitTimeLookup.js?v=1"></script> <script src="/themes/custom/usagov/scripts/accessibleButtonLinks.js?v=1"></script> <script src="/modules/custom/usagov_top_navigation_menu/js/addMenuStyles.js?snl7cl"></script> <script src="/modules/contrib/uswds_ckeditor_integration/js/aftermarket/uswds_accordion.js?snl7cl"></script> <script src="/themes/custom/usagov/scripts/lazyloadBgImage.js?snl7cl"></script> <script src="/core/modules/sdc/../../../themes/custom/usagov/components/searchbar/searchbar.js?snl7cl"></script> <script src="/themes/custom/usagov/scripts/modal.js?snl7cl"></script> <!-- Needed_for_USA.gov_uptime_check --> <script> //<![CDATA[ var usasearch_config = { siteHandle:"usagov_all_gov" }; var script = document.createElement("script"); script.type = "text/javascript"; script.src = "https://search.usa.gov/javascripts/remote.loader.js"; document.getElementsByTagName("head")[0].appendChild(script); //]]> </script> <script> // Set a variable for our button element. const scrollToTopButton = document.getElementById('back-to-top'); // Let's set up a function that shows our scroll-to-top button if we scroll beyond the height of the initial window. const scrollFunc = () => { // Get the current scroll value let y = window.scrollY; // If the scroll value is greater than the window height, let's add a class to the scroll-to-top button to show it! if (y > 500) { scrollToTopButton.className = "stuck"; } else { scrollToTopButton.className = ""; } }; window.addEventListener("scroll", scrollFunc); const scrollToTop = () => { // Let's set a variable for the number of pixels we are from the top of the document. const c = document.documentElement.scrollTop || document.body.scrollTop; // If that number is greater than 0, we'll scroll back to 0, or the top of the document. // We'll also animate that scroll with requestAnimationFrame: // https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame if (c > 0) { window.requestAnimationFrame(scrollToTop); // ScrollTo takes an x and a y coordinate. // Increase the '10' value to get a smoother/slower scroll! window.scrollTo(0, c - c / 10); } }; // When the button is clicked, run our ScrolltoTop function above! // scrollToTopButton.onclick = function(e) { // e.preventDefault(); // scrollToTop(); // } </script> <!-- siteimprove usability --> <script> /*<![CDATA[*/ (function() { var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; sz.src = '//siteimproveanalytics.com/js/siteanalyze_51567.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); })(); /*]]>*/ </script> <!-- end siteimprove usability --> <!-- begin code to remove tabindex from survey --> <script> document.querySelectorAll(".usa-accordion__content").forEach((accordionContent) => { accordionContent.onbeforematch = () => { //accordionContent.removeAttribute("hidden"); document.querySelector("[aria-controls='"+accordionContent.id+"']").setAttribute("aria-expanded", "true"); }; }); // Select the node that will be observed for mutations //<![CDATA[ var targetNode = document.getElementById('main-content'); // Options for the observer (which mutations to observe) var config = { attributes: true, childList: true, subtree: true }; // Callback function to execute when mutations are observed var callback = function(mutationsList, observer) { // Use traditional 'for loops' for IE 11 for(let mutation of mutationsList) { if (mutation.type === 'childList') { // console.log('A child node has been added or removed.'); document.querySelector(".QSIUserDefinedHTML")?.children[0].removeAttribute("tabindex"); // Later, you can stop observing //observer.disconnect(); }else if (mutation.type === 'attributes') { //console.log('The ' + mutation.attributeName + ' attribute was modified.'); document.querySelectorAll(".usa-accordion__content[hidden='']").forEach((hiddenAccordion) => { hiddenAccordion.setAttribute("hidden", "until-found"); }); } } }; // Create an observer instance linked to the callback function var observer = new MutationObserver(callback); // Start observing the target node for configured mutations observer.observe(targetNode, config); //]]> </script> <!-- end code to remove tabindex from survey  --> <!-- Needed_for_USA.gov_uptime_check --> <script src="/themes/custom/usagov/scripts/modifyMobileNav.js"></script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10