Copilot Code is a tab in the Microsoft Copilot app for Windows that turns a plain-language description into working software, such as a dashboard, a static website, a data transform or a script. As of Microsoft's December 4, 2026 announcement, it is a preview for Windows Insiders in the United States and Canada who sign in with a personal Microsoft account that has a Microsoft 365 Premium or Pro subscription. To start, update the Copilot app, select Code in the left side panel and describe what you want.
Who this is for and what you will have at the end
This guide is for Windows Insiders, IT admins who get asked "can we turn this on?", and students or small-business owners who want to build a small tool without writing code. By the end you will know whether you qualify, how to open Copilot Code, what each approval prompt means, which settings to check before your first project, and what to review before you trust or share anything it builds.
The feature is in Preview. Microsoft's support page says it may change substantially before release, so treat the details below as correct on the date checked, December 6, 2026.
What Copilot Code is
Microsoft describes Copilot Code as a feature that builds tools from plain-language descriptions. It runs on your PC, asks clarifying questions when needed and shows a live preview while it works. The Microsoft Learn overview describes the Code tab as a separate tab in the Microsoft Copilot app, alongside Home, and says it can create apps, dashboards, internal tools, static websites, data transforms, automations and scripts.
Two points are easy to miss:
- It is not a Windows 11 build. It reaches Insiders through the Copilot app, which you update from the Microsoft Store.
- Code conversations stay in the Code tab. Microsoft's announcement says they do not carry over from Chat or Cowork yet.
For how Copilot subscriptions differ from the paid business product, see Copilot Chat vs Microsoft 365 Copilot: what a business pays for.
Check that you qualify
| Requirement | What Microsoft says | Source |
|---|---|---|
| Program | Windows Insiders (preview) | Windows Insider blog, December 4, 2026 |
| Region | United States and Canada at launch | Windows Insider blog; support page |
| Account | Personal Microsoft account with Microsoft 365 Premium or Pro, signed in to the Copilot app | Windows Insider blog |
| App version | Copilot app 157.0.4341.60 or higher | Windows Insider blog |
| First launch | Downloads about 300 MB of files, once | Windows Insider blog |
| Work or school accounts | Rolling out to commercial customers in the Frontier program | Windows Insider blog; Learn overview |
The announcement does not name Insider channels or a Windows build number, so there is no build to look for in Settings. The support page also says access will broaden to more Windows users "over the coming weeks".
If you are outside the US and Canada, or you only have a free Microsoft account, you should not expect the Code tab to appear yet.
Work and school accounts
The Learn overview says you need to be part of the Frontier preview program for early access. It adds that your organization's admin can set controls for how Copilot Code is used, and that administrators can audit actions such as code generated, commands run and files read or written. The Learn overview points to a separate admin article for the details; this guide does not cover that article.
Open Copilot Code and start a project
- Open the Microsoft Store, go to your library, and update the Copilot app until its version is 157.0.4341.60 or higher.
- Open the Microsoft Copilot app and sign in with the qualifying personal Microsoft account.
- In the left side panel, select Code in the tab switcher. The first launch downloads about 300 MB.
- In the task input, describe the result and who it is for. Microsoft's support page suggests stating what the result should do and who it is for.
- To add context, select the plus sign (+) to upload files, or drag and drop them onto the task input. The announcement lists spreadsheets, CSV, PDF, document, image and presentation files.
- To work on an existing folder, open the folder and start a local project.
- Send the request. If Copilot Code asks questions, answer them or choose the suggested option.
A good first prompt is small and testable:
Build a single-page static website that shows a table from the attached CSV of monthly expenses, with a total row and a filter by category. Use plain HTML and CSS only. Do not connect to the internet. Progress appears in the conversation. For supported websites and apps, a canvas beside the conversation shows a live preview, and Code view lets you read or edit the generated files.
Pick a mode and a model
Microsoft's announcement describes three modes:
- Interactive (default): you guide it as it goes.
- Plan: shows the approach for review before changes are made.
- Automatic: handles well-defined tasks with fewer interruptions; your approval settings still apply.
Start in Plan the first few times, so you can read the approach before any file changes. The model picker lets you choose an Anthropic or OpenAI model, or keep Auto.
Refine one change at a time. Microsoft's guidance is to make one focused change per request, and you can ask Copilot Code to return to an earlier version if a change goes wrong.
Approvals: what it asks before acting
By default, Copilot Code can read and write files in the project folder you select. Microsoft's pages say it asks for approval before it:
- reads or changes files outside the selected project folder,
- connects to the internet or downloads content,
- runs a shell or terminal command,
- deletes files,
- accesses, pulls from or pushes to GitHub through the GitHub connector.
The approval dialog explains the planned action, and you can approve or cancel. Options such as Allow for session or Allow for project let it repeat that action type in that scope. The security page states that approval given during a session applies to that session only.
Always allow
Always allow is a setting under Settings and more > Code > Manage PC Settings, with a toggle named Run tools without asking. Microsoft's pages say it stays on until you turn it off, skips the approval prompts above, and applies to existing sessions as well as new ones. Leave it off. A prompt that costs two seconds is cheaper than an unwanted delete or a push to the wrong repository.
The sandbox
Per the Copilot Code security considerations page, the sandbox applies to local projects, is on by default, and limits which files and network resources Copilot Code and its commands can reach. It also applies to the web preview. Microsoft's run-projects page lists these settings under Settings > Code > PC settings, with a Sandbox toggle:
| Area | With the sandbox on |
|---|---|
| Project and temporary folders | Read and write |
| Build tool caches, package registries, configuration files | Read |
| Other folders | No access |
| Network | Full access, Allowed hosts only, or No network access |
Two details matter. Approving an action does not override a sandbox restriction, so a blocked action stays blocked. And when it is blocked, Copilot Code reports what was blocked and why and does not retry without permission. The page also says some devices may prevent turning the sandbox off, and that with it off, the file and network restrictions no longer apply even though approval settings still do.
For a first project that needs no downloads, choose No network access. Raise it only when a task needs it.
Risks Microsoft lists
The security considerations page is direct about risk, and it is worth reading before you start. Its list includes:
- Unintended actions: it may misread a request and change, overwrite or delete files you did not intend.
- Prompt injection: files, repositories, web pages or packages it reads may contain hidden instructions meant to manipulate it. See the LLM prompt injection defense checklist for the general pattern.
- Commands and downloads: approved installs and code downloads can run code from the internet.
- GitHub: once connected, it can read your repositories and, with approval, push changes. Microsoft says to check which repository and branch it is working in, especially for public repositories.
- Insecure code: generated code may contain bugs or security weaknesses.
- Sensitive uses: avoid building software for consequential decisions, such as credit, housing or employment, without testing and human review.
The page also says the sandbox does not cover an app you start yourself outside a Copilot Code session, and that you should keep passwords, keys and other sensitive data out of prompts and project files.
Using it safely: a short routine
- Create a dedicated empty project folder, not your Documents folder.
- Start in Plan mode and read the plan.
- Keep Sandbox on and the network at No network access until a task needs more.
- Read every approval dialog; cancel anything unexpected.
- Keep Always allow off.
- Do not paste secrets, tokens or customer data into prompts or project files.
- Before running or sharing the result yourself, read the code and test it with dummy data.
- If you connect GitHub, confirm the repository and branch before approving a push, and prefer a test repository first.
Troubleshooting
- No Code tab: confirm the app version is 157.0.4341.60 or higher in the Microsoft Store, that you are signed in with a personal account that has Microsoft 365 Premium or Pro, that you are in the Windows Insider Program, and that you are in the US or Canada. The Microsoft pages list no other cause, so if all four are true and the tab is still missing, the rollout may not have reached you yet.
- Stuck on the first launch: the first open downloads about 300 MB. Check your connection and wait for it to finish.
- An action is blocked: Copilot Code reports what the sandbox blocked. Approving does not lift it. Change the sandbox setting only if you understand why the access is needed.
- A change broke the project: ask Copilot Code to return to an earlier version, then repeat the change in smaller steps.
- Nothing in the preview: the Learn overview says preview support depends on the artifact type and your device, so some artifacts cannot be previewed everywhere.
To send feedback, open Feedback Hub (WIN + F) and go to Apps > Copilot on Windows.
Checklist
- Insider, US or Canada, personal account with Microsoft 365 Premium or Pro.
- Copilot app 157.0.4341.60 or higher.
- Code tab open; Plan mode for the first projects.
- Sandbox on; network limited; Always allow off.
- No secrets in prompts; generated code reviewed and tested.
What we checked
- Opened Microsoft's Windows Insider blog post of December 4, 2026 on December 6, 2026 and took the eligibility, version number, 300 MB first download, modes and feedback path from it.
- Opened the support page "Get started with Copilot Code for personal accounts (Preview)" on December 6, 2026 and cross-checked the steps, region limit and Preview wording against the blog post. Both agree on the US and Canada and on the Premium or Pro requirement.
- Opened "Copilot Code security considerations (Preview)" and "Run projects and review actions in Copilot Code (Preview)" on December 6, 2026 and cross-checked the approval list, the sandbox default and the Always allow setting path.
- Opened the Microsoft Learn Copilot Code overview (Frontier), dated 2026-11-12 in its metadata, for the work-account, Frontier and admin audit statements.
- Searched The Verge, TechCrunch, BleepingComputer, ZDNET and Ars Technica for coverage on December 6, 2026 and found none; no fact here comes from third-party coverage.
- Not checked: we did not install the app or open the Code tab. Steps follow Microsoft's documentation as of December 6, 2026, and the Interactive mode name appears only in the announcement, not on the run-projects page.
Last tested: 2026-12-06
References
- Copilot Code (Preview) now available to Windows Insiders, Windows Insider Blog, December 4, 2026
- Get started with Copilot Code for personal accounts (Preview)
- Copilot Code security considerations (Preview)
- Run projects and review actions in Copilot Code (Preview)
- Copilot Code overview (Frontier), Microsoft Learn
This guide was researched and drafted with AI assistance and checked against the vendor documentation listed in its References. Read the maintained version and related guides on EpiFive.


