Nested Section Groups in OneNote for the Web and the JavaScript API
Question details
The user wants to know whether nested section groups can be created in OneNote for the web or through OneNote JavaScript API 1.1.

- Product
- OneNote for the web and OneNote JavaScript API 1.1
- Device & OS
- not provided
- Scenario
- Organizing a notebook by placing one section group inside another.
- Observed behavior
- The web interface described does not show an option to create a nested section group.
Check which OneNote app and version you are using, since section group options can differ between clients. For an add-in, also check the OneNote JavaScript API requirement set your code targets.
Create a nested section group in OneNote 2016
Use the desktop client if OneNote for the web does not offer the nesting option.
The web interface described in this record does not support creating nested section groups. OneNote 2016 supports this organization, although available commands can vary by client and version.
Open the notebook in OneNote 2016 and navigate to the section group that should contain the new group.
Right-click the section group and choose New Section Group, if available. Enter a name for the new group.
Open the parent section group and confirm that the new group appears inside it. Allow the notebook to sync before checking it in another client.

Review section group access in OneNote JavaScript API 1.1
Use this approach when an add-in needs to read an existing section group rather than create one.
Organize Office documents with WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Microsoft Office format support helps you move existing files into your workflow. It does not fix OneNote's nested section group limitations or directly replace OneNote notebooks.

Frequently Asked Questions
Can I create a section group inside another group in OneNote for the web?
The web interface described in this record does not provide that option. Try opening the notebook in OneNote 2016 and using New Section Group within the parent group.
Can the OneNote JavaScript API create nested section groups?
In the API version discussed here, section groups are available as read-only objects. Check the Microsoft Learn reference for your target requirement set before assuming creation or modification is supported.
Is OneNote 2016 the same as the Windows app mentioned in the answer?
No. OneNote 2016 is a desktop client, while the Windows app discussed in the original answer is a separate client with different capabilities. Check the app name and version before looking for the nesting command.
Where can I get help with a OneNote JavaScript API call?
Consult the OneNote JavaScript API reference on Microsoft Learn, then post a specific question with your code and requirement set on Stack Overflow or a Microsoft developer forum.




