How to Subscribe to GitHub Copilot in 2026
4.2/ 5
What You Need Before Subscribing in 2026
GitHub Copilot subscription in 2026 requires more upfront preparation than most guides acknowledge. Before opening the subscription page, ensure you have a GitHub account created and verified with a working email address. Two-factor authentication (2FA) is now mandatory for any account planning to use Copilot, a change enforced across 2025 and into 2026. If your account predates this requirement, you'll be prompted to enable 2FA during sign-up and cannot proceed without it.
Have a valid payment method ready—credit card, debit card, or PayPal, depending on your region. GitHub's payment processor validates country of residence against the card's issuing country, so mismatches will cause the payment to fail. You'll also need to know which IDE you plan to use: VS Code, JetBrains IDEs (IntelliJ IDEA, PyCharm, etc.), Neovim, or other supported editors. This choice doesn't lock you in—Copilot works across multiple editors on the same account—but knowing your primary environment beforehand streamlines the installation step.
Check your internet connection and ensure your workplace or network doesn't block GitHub's API endpoints or the Copilot extension repositories. Corporate networks sometimes restrict extension installation or require proxy configuration, which delays the final verification step.
Step 1: Open the GitHub Copilot Subscription Page
Navigate directly to github.com/features/copilot/plans or visit github.com and click your profile icon in the top right. From the dropdown menu, select "Settings," then "Billing and plans" in the left sidebar. You'll see a section labeled "GitHub Copilot" with current plan status (Free or Pro, if already activated). If you're on Free or have no plan yet, a button reading "Subscribe to Copilot" appears prominently.
Clicking this button redirects you to the subscription confirmation page. You must be signed into your GitHub account to see this page; if you're signed out, you'll be asked to log in first. The page displays your account email, GitHub username, and current billing address (if previously set). Review these details carefully—billing address determines tax calculation and whether you qualify for certain regional pricing variations.
If you've never added a billing address to your GitHub account, the page prompts you to enter one now. This is separate from your profile address and is used solely for payment processing and invoicing. The page won't let you proceed without a valid address in a supported country.
Step 2: Choose Free vs Pro (and Why Pro Still Defaults)
GitHub offers two Copilot tiers: Free and Pro. The Free tier grants limited monthly completions and is suitable for learning or light use in hobby projects. The Pro tier removes most completion limits and adds priority access to new models and faster response times. In 2026, the subscription page defaults the radio button to Pro, and the Free option is a secondary choice just below it.
The Free tier remains free and requires no payment method validation. However, if you select Pro, you immediately proceed to payment details. The pricing page lists the Pro subscription cost, and this amount is charged monthly to your selected payment method on the same date each month. Cancellation is available anytime through your billing settings; the charge stops at month's end, and you retain access until your billing cycle closes.
If you're uncertain, select Free first. You can upgrade to Pro directly from your IDE or from the GitHub settings page at any time; there's no waiting period or account age requirement. Many developers start on Free, use it for a few weeks, and upgrade once they understand how much completion they actually need.
Step 3: Add Payment Method and Confirm Country
If you selected Pro, the page now displays a payment form. GitHub's payment processor (Stripe in most regions) requires you to enter your card details: full name on card, card number, expiration date, and CVV security code. The form validates card format in real time and flags invalid entries before you can submit.
Below the card fields is a "Billing country" dropdown. This must match the country of residence on your ID and the country where your card is registered. GitHub enforces this for tax compliance and fraud prevention. If you're in a country that GitHub doesn't support (a small list as of 2026), the dropdown won't include it, and you cannot complete the subscription. Check GitHub's supported countries list if you're outside major markets; it's linked from the payment form.
After selecting your country, the form calculates any applicable sales tax or VAT and displays the total charge below the card fields. Tax rates vary by region; some countries charge no VAT on software subscriptions, while others impose 15–25% on top of the base price. The total displayed is what will be charged this month and every month thereafter. Review it carefully before submitting.
Click "Subscribe" or "Confirm payment" (button text varies slightly by region). The form submits securely to Stripe and returns you to GitHub within seconds. If payment succeeds, you see a confirmation message: "Your Copilot subscription is now active." Your IDE extension will recognize this status within a few minutes and unlock the full feature set. If payment fails—card declined, billing address mismatch, or fraud filter triggered—you'll see an error message with a reason and can retry immediately.
Step 4: Install Copilot in VS Code, JetBrains, or Neovim
With your subscription confirmed, install the Copilot extension in your editor. The installation step is the same whether you're on Free or Pro, but Pro unlocks features that Free users don't see.
VS Code: Open the Extensions sidebar (Ctrl+Shift+X on Windows/Linux, Cmd+Shift+X on macOS). Search for "GitHub Copilot" (the official extension by GitHub) and click "Install." The extension downloads and installs in seconds. You'll be prompted to sign in with your GitHub account; click the blue "Sign in to GitHub" button, which opens a browser window. Authorize the extension and close the browser tab. VS Code recognizes your subscription status immediately.
JetBrains IDEs: Open Preferences/Settings (Cmd+, on macOS, Ctrl+Alt+S on Windows/Linux). Navigate to Plugins or Extensions (exact path varies by IDE version). Search for "GitHub Copilot" in the plugin marketplace. Click "Install," restart the IDE, and sign in when prompted via the same browser authorization flow. JetBrains IDEs show a Copilot icon in the status bar once authenticated.
Neovim: Installation depends on your plugin manager. For vim-plug, add Plug 'github/copilot.vim' to your init.vim, run :PlugInstall, then run :Copilot setup inside Neovim to authorize. Other plugin managers (packer.nvim, lazy.nvim) follow similar patterns. Authorization opens a device-flow URL in your browser; you'll approve access there and return to Neovim to confirm.
After installation, open or create a code file in your editor. Copilot should suggest completions as you type; they appear inline (VS Code, JetBrains) or in a separate buffer (Neovim). If no suggestions appear, verify your subscription is active in your GitHub billing settings and check that the extension is enabled in your editor's extension panel.
Step 5: Verify License in Your IDE
Most modern IDE extensions display your Copilot license status in the editor interface. In VS Code, the Copilot icon appears in the status bar (bottom right, next to the language selector). Hover over it or click it to see your current plan: "Free" or "Pro." In JetBrains, a Copilot icon appears in the status bar; click it to open a panel showing your plan and usage (Pro shows expanded telemetry; Free shows limited data). Neovim users can run :Copilot status to see account and subscription details in a message.
If your subscription shows as active in GitHub settings but your IDE still shows "Free" or "Unauthenticated," wait 5–10 minutes for your IDE to refresh its license cache. If the status doesn't update after that, try signing out and signing back in: in VS Code, click the Copilot icon and choose "Sign out," then restart the editor and sign in again. In JetBrains, go to Preferences → GitHub → Accounts, remove the account, restart, and re-add it. In Neovim, run :Copilot setup again.
Once your IDE confirms your plan (Pro shows a different color or label than Free, depending on the editor), you're fully set up. Copilot is ready to use. Start typing code and accept or reject suggestions as they appear. If you ever cancel your Pro subscription, your IDE will downgrade to Free within 24 hours of the billing cycle end, and you'll see limited completions thereafter.
Fix Common 2026 Subscription Errors
"Payment declined. Please verify your billing information." This error usually means a mismatch between your billing address and your card's registered address, or your bank blocked the transaction as fraud. Check that your card's country matches your GitHub billing country. If both match, contact your bank and ask them to allow charges from GitHub (stripe.com). Then retry the payment on GitHub.
"2FA required to proceed." GitHub now mandates 2FA for Copilot signups. If this error appears, go to Settings → Account security → Two-factor authentication and enable it (SMS or TOTP app like Google Authenticator). You can't bypass this; it's a hard requirement. Once enabled, return to the subscription page and try again.
"Your country is not supported." / "Country dropdown is empty." GitHub's payment processor doesn't operate in all countries as of 2026. If your country isn't in the dropdown, you cannot subscribe via the standard billing page. Some users in unsupported regions report success using a VPN to a supported country, but this violates GitHub's terms of service and risks account suspension. Check GitHub's official list of supported countries on the billing help page; if yours isn't listed, you're blocked at the payment layer.
"Extension installed but no suggestions appear." First, verify you're authenticated: in VS Code, the Copilot icon should not show an error or "Sign in" prompt. Second, check that your subscription is active on github.com/settings/billing/summary. Third, ensure the extension is enabled: in VS Code, open Extensions, search for Copilot, and confirm it shows a checkmark (not "Install" or "Disabled"). Fourth, try restarting your IDE. If suggestions still don't appear after these steps, the issue is usually a firewall or proxy blocking the Copilot API. Ask your network administrator to allow traffic to api.github.com and github.com.
"Your session has expired. Please sign in again." GitHub Copilot authentication tokens expire periodically. Sign out of the extension (in VS Code, click Copilot icon and choose "Sign out") and sign back in. The browser authorization flow opens again. Approve it and complete the login. This usually takes under a minute.
"I was charged but the subscription shows as inactive." Subscription activation can take up to 15 minutes after payment succeeds. Wait 15 minutes, then refresh your GitHub settings page and your IDE. If the subscription still shows as inactive after 30 minutes, check your GitHub notification inbox (bell icon, top right) for any alerts about payment issues. If there's an error message, follow its guidance. If no message appears, contact GitHub Support via settings → Help.
Data Check: Current Sign-up Flow from Official GitHub Docs and Help Center
This guide reflects the sign-up flow documented on docs.github.com/en/billing/managing-billing-for-github-copilot and github.com/support/copilot-faqs as of 2026. The steps—2FA verification, country and billing address validation, payment processing, and IDE extension setup—are consistent across the official documentation. The billing page structure, the Pro/Free tier choice, and the subscription status indicators in each IDE are current as of early 2026.
GitHub periodically updates its payment processor and sign-up UI, so exact button labels or field order may shift. The core flow—GitHub account → 2FA → billing details → payment → IDE setup → verification—remains stable. If you encounter UI elements that don't match this guide's descriptions, the underlying sequence is the same: authenticate, add payment, install extension, verify license.
Related guides and context
For a deeper comparison of Free and Pro tiers, see GitHub Copilot plan comparison 2026. If you're new to Copilot's features and workflow, how to use GitHub Copilot walks through practical day-to-day usage. For Free tier details and limitations, GitHub Copilot Free tier covers what the no-cost option includes. Neovim users looking for setup specific to that editor can refer to Copilot Vim plugin documentation.
What works
- Mandatory 2FA and strict payment validation reduce fraud and account takeovers, making subscriptions safer in 2026.
- Free tier available with no credit card required; upgrade path is frictionless and can be done anytime.
- Works across VS Code, JetBrains, Neovim, and other editors on a single subscription; no per-seat or per-editor licensing.
- Monthly billing with no annual lock-in; cancellation takes effect at the end of your current billing cycle.
- Fast IDE integration; Copilot is recognized by most popular editors within seconds of authentication.
What doesn't
- 2FA is now mandatory and cannot be skipped; users without 2FA-capable devices cannot subscribe.
- Payment processing is country-restricted; GitHub's processor doesn't serve all nations, blocking subscriptions outright in some regions.
- Billing address and card country must match perfectly; mismatches cause payment failures with unclear error messages.
- IDE authentication tokens expire periodically and require manual re-authorization; this adds friction to long-running sessions.
The verdict
Subscribing to GitHub Copilot in 2026 requires upfront attention to 2FA setup, payment validation, and country matching—steps that most older guides overlook. The process itself is straightforward once these prerequisites are met: choose Free or Pro, confirm payment, install your IDE extension, and verify your license. This guide prioritizes the real blockers that halt sign-ups today.
FAQ
- Do I have to pay to try GitHub Copilot?
- No. GitHub Copilot Free is available at no cost and requires no payment method. You can use Free indefinitely; it has completion limits but no time or trial expiration. Upgrade to Pro anytime if you want higher limits and faster responses. Payment is only required if you choose the Pro tier.
- Can I use GitHub Copilot in multiple IDEs on the same subscription?
- Yes. A single Copilot subscription covers all supported IDEs on your GitHub account. Install the Copilot extension in VS Code, JetBrains, Neovim, and other editors simultaneously and sign in once. Your license status syncs across all of them.
- What if my payment fails during sign-up?
- The most common causes are a mismatch between your billing country and your card's registered country, or your bank blocking the charge as fraud. Verify that your GitHub billing country matches your card's country. If it does, contact your bank and ask them to allow GitHub (Stripe) charges, then retry. If your country isn't in GitHub's supported list, you cannot subscribe via standard billing.