GitHub does not allow sexually obscene content. Its Acceptable Use Policies list content that is “sexually obscene or relates to sexual exploitation or abuse, including of minors” among things it does not allow, and a dedicated policy defines the category: sexually themed or suggestive content that serves little or no purpose other than to solicit an erotic or shocking response, including graphic depictions of sexual acts in photographs, video, animation, drawings, computer-generated images or text.
The same policy adds a counterweight. Not all nudity or content related to sexuality is obscene, and GitHub may allow depictions in artistic, educational, historical or journalistic contexts. That context test is the part adult game developers need to read, because game repositories, mods, patches and project pages on GitHub all sit under it.
This page sets out what the three relevant GitHub policies say, how enforcement and appeals work, and what that means for game projects. It describes the pages as they stood on 7 November 2026.
Key points
- Sexually obscene content is not allowed. The Acceptable Use Policies list it under User Safety.
- The rule covers drawings, animation, computer-generated images and text. Not only photographs.
- Context can allow nudity. Artistic, educational, historical and journalistic contexts are named.
- Placement matters. The policy singles out content amplified by profiles and social contexts.
- AI tools for sexual material involving minors or without consent are banned.
- GitHub has full discretion on enforcement. Appeals exist.
What the Acceptable Use Policies say
The Acceptable Use Policies open with a “short version”: GitHub hosts a wide variety of collaborative projects, collaboration only works when users work together in good faith, and users must comply with the policies on content and conduct related to user safety, intellectual property, privacy, authenticity and other limits.
The section on user safety lists what GitHub does not allow. The items include content or activity that is unlawful or promotes unlawful activities; that is sexually obscene or relates to sexual exploitation or abuse, including of minors; that is libellous, defamatory or fraudulent; that is discriminatory or abusive; that harasses others; that threatens or incites violence; and that gratuitously depicts or glorifies violence. A final item covers content that is off-topic or interacts with platform features in a way that significantly or repeatedly disrupts other users.
The sexually obscene item is short and general. The detail is on a separate page.
The sexually obscene content policy
The dedicated policy is a short document in two paragraphs.
The first paragraph states two rules. GitHub does not tolerate content associated with sexual exploitation or abuse of another individual, including where minors are concerned. And it does not allow sexually themed or suggestive content that serves little or no purpose other than to solicit an erotic or shocking response, “particularly where that content is amplified by its placement in profiles or other social contexts”. It then lists what this includes:
- explicit adult content;
- non-consensual intimate imagery;
- graphic depictions of sexual acts, including photographs, video, animation, drawings, computer-generated images or text-based content.
The second paragraph is the counterweight. GitHub recognises that not all nudity or content related to sexuality is obscene. It may allow visual or textual depictions in artistic, educational, historical or journalistic contexts, or as they relate to victim advocacy. In some cases, it says, a disclaimer can help communicate the context of the project. And it adds that it may choose to limit the content by giving users the option to opt in before viewing.
What the wording means for game projects
Three observations follow.
- Format does not matter. The list names animation, drawings, computer-generated images and text, so an illustrated or rendered game asset is covered in the same way as a photograph.
- Purpose does. The test is whether the content serves “little or no purpose other than” an erotic or shocking response. A repository of code with a few explicit sample assets and one with a collection of explicit images are not the same thing, and the policy leaves the line to GitHub.
- Placement is an aggravating factor. Profiles and social contexts are named. An explicit avatar, profile README or pinned repository is more exposed than a file deep in a project.
The policy does not mention games, mods, visual novels or patches. It also does not mention age gates, though the opt-in sentence suggests GitHub can place content behind a click in some cases.
The synthetic media and AI tools policy
A third page, Synthetic Media and AI Tools, is about projects. GitHub does not allow any project designed for, encouraging, promoting, supporting or suggesting in any way the use of large language models or other synthetic or manipulated media tools to create:
- sexual material involving minors, or any other content that would constitute child sexual abuse material under GitHub’s policies;
- violent extremist propaganda or terrorist content;
- sexually explicit media of people without their consent, or any other content that would constitute non-consensual intimate imagery.
GitHub says it evaluates violations by looking at a project in context, which can include how it is configured, how it is marketed, the information in its README or other documentation, the external sites it links to, the nature of the support its maintainers give, and any other facts that indicate a likelihood of furthering a prohibited use.
For developers, the AI policy is aimed at tools, not at ordinary use of AI art in a game. The practical consequence is for anyone publishing a model, workflow or script: how the README describes it and where it links are part of the test. For how stores treat AI in games, see AI-generated content rules for adult games.
Enforcement and appeals
The Acceptable Use Policies end with enforcement. GitHub says it retains full discretion to take action in response to a violation, including account suspension, account termination or removal of content. It says that if a user’s content or account has been disabled or restricted and they want reinstatement, they can use the Appeal and Reinstatement page and form.
The policy pages do not describe a warning ladder, and they do not say how GitHub finds obscene content. Nothing in the pages read says that private repositories are treated differently from public ones.
Other rules that touch game projects
Several other items in the Acceptable Use Policies bear on adult game projects, apart from the sexual content rules.
- Intellectual property. GitHub does not allow content that infringes any proprietary right, including copyright and trademark. Patches and mods that include another studio’s assets are exposed to this.
- Licence keys. It bars unlawfully sharing unauthorised product licensing keys or software that bypasses key checks.
- Advertising. The primary focus of content posted in an account, including Pages, packages and repositories, should not be advertising, and promotional materials must relate to the project hosted.
- Privacy. Posting another person’s personal information without consent is not allowed.
What this means for adult game developers
- Do not put explicit assets in a repository, profile or README. The policy covers drawings, animation and computer-generated images, and it names placement in profiles.
- Keep the repository to code and clean assets. Store explicit content on a host that accepts it. See where to sell adult games.
- Use context where it is real. For educational or documentary projects, such as research on content moderation, the policy says a disclaimer can help.
- Be careful with AI tooling. README text and links count when GitHub judges a project that touches synthetic media.
- Do not host patches that bundle other studios’ assets. Copyright infringement is a separate ban.
- Do not treat Pages as an advertising site. The policies limit promotional focus.
- Keep copies elsewhere. GitHub can remove content or accounts at its discretion.
- Compare other hosts. See does Vercel allow adult content, does Google Drive allow NSFW files and does Imgur allow NSFW images.
What is still unknown
- Where GitHub draws the line on suggestive game art. The policy has no examples.
- How GitHub treats private repositories. The pages read do not say.
- How the opt-in mechanism works. The policy says GitHub may limit content with an opt-in, and no mechanism is described.
- How GitHub Pages is treated. The Pages terms were not read.
- How long reinstatement takes. The appeal page was not read.
How this page was put together
The three policy pages were read on GitHub’s own documentation site, in a browser, on 7 November 2026. None of them shows a date. Short phrases are quoted and the rest is paraphrased, and some of the policy’s wording for the explicit category is replaced by plainer words.
The author has not had a repository restricted or removed, and nothing here is a first-hand account of enforcement. GitHub’s Terms of Service, the Pages terms, the child exploitation policy and the Community Guidelines were not read.
This page was written on 7 November 2026 and will be updated when GitHub changes its policies. To report an error, see the corrections standard.
Questions
Does GitHub allow NSFW content?
Not sexually obscene content. GitHub's Acceptable Use Policies bar content that is sexually obscene or relates to sexual exploitation or abuse, including of minors. The dedicated policy says it does not allow sexually themed or suggestive content that serves little or no purpose other than to solicit an erotic or shocking response.
Does the rule cover drawings and text, or only photographs?
It covers both. The policy lists graphic depictions of sexual acts including photographs, video, animation, drawings, computer-generated images and text-based content.
Is all nudity banned on GitHub?
No. The policy says not all nudity or content related to sexuality is obscene, and that GitHub may allow depictions in artistic, educational, historical or journalistic contexts or relating to victim advocacy. It may require users to opt in before viewing.
Can I host an adult game's source code or patches on GitHub?
The policies do not mention games. The test is whether content is sexually obscene or graphic, and the dedicated policy says context matters. Explicit assets in a repository, profile or README fall under the rule.
What can GitHub do if I break the policy?
The Acceptable Use Policies say GitHub keeps full discretion to respond with account suspension, account termination or removal of content. They point to an Appeal and Reinstatement process for disabled content or accounts.
Does GitHub have rules about AI tools that make sexual images?
Yes. GitHub does not allow projects designed for, encouraging or supporting the use of language models or other synthetic media tools to create sexual material involving minors, or sexually explicit media of people without their consent.
How does GitHub judge an AI-related project?
In context. It looks at how the project is configured and marketed, what its README and documentation say, the sites it links to, the support its maintainers provide and other facts that point to a likelihood of furthering a prohibited use.
