GRIDMODE in AutoCAD – How to Use and Customize the Drawing Grid
AutoCAD GRIDMODE Access
COMMAND LINE: F7

DEFAULT KEYBOARD SHORTCUT: F7
STATUS BAR: GRIDMODE Button

1. What Is GRIDMODE in AutoCAD?
GRIDMODE is an AutoCAD system variable that controls the visibility of the drawing grid in the drawing area. The grid provides a visual reference for distances, spacing, and alignment, making it easier to understand the size and arrangement of objects.
The grid appears as a pattern of horizontal and vertical lines or dots, depending on the grid display settings. It can be especially useful when creating preliminary layouts, arranging objects, or learning how AutoCAD's coordinate system works.
Unlike drawing objects such as lines, polylines, and circles, the grid is not actual geometry. It cannot be selected, modified, or erased, and it does not appear on printed or plotted drawings.
Important: GRIDMODE controls only the visibility of the grid. It does not force the cursor to move between grid intersections. That function is controlled separately by SNAPMODE.
2. How GRIDMODE Works
GRIDMODE is a simple system variable with two possible values.
| GRIDMODE Value | Description |
|---|---|
| 0 | Turns the drawing grid off. |
| 1 | Turns the drawing grid on. |
When GRIDMODE is set to 1, AutoCAD displays the grid according to the current grid spacing and display settings. When set to 0, the grid disappears without affecting any drawing objects.
The grid is aligned with the current User Coordinate System (UCS). In a typical 2D drawing using the World Coordinate System (WCS), the grid follows the X and Y axes.
As you zoom in or out, AutoCAD may adjust the number of visible grid lines to prevent the drawing area from becoming overcrowded.

Comparison of AutoCAD GRIDMODE settings showing the drawing grid enabled and disabled in Model Space.
3. How to Turn GRIDMODE On and Off
AutoCAD provides several ways to control the grid display.
Method 1: F7 Function Key
Press F7 to toggle the drawing grid on or off. This is generally the fastest method when working in AutoCAD.
Method 2: Status Bar
Locate the Grid Display button on the AutoCAD status bar.
- Click the button to turn the grid on.
- Click it again to turn the grid off.
The button's appearance changes to indicate whether Grid Display is enabled.
Method 3: Command Line
To control the grid directly:
- Type GRIDMODE and press Enter.
- Enter 1 to turn the grid on or 0 to turn it off.
- Press Enter to confirm.
All three methods control the same system variable.
4. Understanding Grid Spacing
Grid spacing determines the distance between the grid's reference lines or dots. These distances are measured in drawing units.
Grid X and Y Spacing
AutoCAD allows different spacing values in the X and Y directions.
For example, setting both Grid X Spacing and Grid Y Spacing to 12 in a drawing where one unit represents one inch produces grid intervals of 12 inches in both directions.
You can also specify different values, such as 12 units horizontally and 6 units vertically.
Grid spacing is controlled by the GRIDUNIT system variable or through the Drafting Settings dialog.
Major and Minor Grid Lines
AutoCAD distinguishes between major and minor grid lines.
Minor grid lines represent the regular grid intervals. Major grid lines appear at a specified frequency to help users identify larger distances.
For example, with grid spacing set to 12 units and major lines displayed every five intervals, major grid lines occur every 60 units.
The GRIDMAJOR system variable controls this frequency.
Adaptive Grid Display
Adaptive Grid changes the displayed grid density as you zoom in or out.
When zooming out, AutoCAD reduces the number of visible grid lines to avoid overcrowding. When zooming in, additional subdivisions may appear if that option is enabled.
This behavior changes the grid's appearance without changing the underlying spacing settings.

Adaptive Grid adjusts the number of visible grid lines as you zoom in or out.
5. How to Customize the Drawing Grid
The Drafting Settings dialog provides several options for controlling the grid's spacing and appearance.
To open the settings:
- Type DSETTINGS at the command line and press Enter.
- Select the Snap and Grid tab.
- Locate the Grid Spacing and Grid Behavior sections.
- Adjust the settings as needed.
- Click OK to apply your changes.
Grid Spacing
Enter the desired X and Y spacing values. These determine the basic grid intervals.
A value of 0 causes the corresponding grid spacing to use the Snap spacing value.
Major Line Every
Specify how frequently major grid lines appear. A value of 5 displays a major line every five grid intervals.
Adaptive Grid
Enable this option to reduce grid density automatically when zooming out.
Allow Subdivision Below Grid Spacing
When enabled with Adaptive Grid, AutoCAD can display additional grid subdivisions as you zoom in.
Display Grid Beyond Limits
This option determines whether the grid extends beyond the drawing boundaries established by the LIMITS command.
Grid Style
AutoCAD can display a traditional dotted grid or a line-based grid. The GRIDSTYLE system variable controls where the dotted grid style is used.

AutoCAD DSETTINGS dialog showing the available options for customizing drawing grid spacing and appearance.
6. GRIDMODE vs. SNAPMODE
GRIDMODE and SNAPMODE are closely related drafting aids, but they perform different functions.
GRIDMODE displays a visual reference grid. SNAPMODE restricts cursor movement to specified increments.
| Feature | GRIDMODE | SNAPMODE |
|---|---|---|
| Primary Function | Displays the drawing grid | Controls cursor snap increments |
| Keyboard Shortcut | F7 | F9 |
| Restricts Cursor Movement | No | Yes |
| Can Operate Independently | Yes | Yes |
You can display the grid without enabling Snap Mode. Likewise, you can enable Snap Mode without displaying the grid.
For example, you might use a 12-inch grid to visualize a preliminary floor plan while leaving Snap Mode off so the cursor moves freely.
Alternatively, enabling Snap Mode with 12-inch increments restricts cursor movement to those increments, even when the grid is hidden.

Example of AutoCAD GRIDMODE and SNAPMODE operating together to provide a visible grid and incremental cursor positioning.
Understanding this distinction prevents a common beginner mistake: assuming that displaying the grid automatically makes drawing operations more precise.
7. Practical Applications of GRIDMODE
Although GRIDMODE is not essential for every drafting task, it can provide a useful visual reference in several situations.
Preliminary Building Layouts
When developing an initial building layout, a grid can help visualize overall dimensions and proportions.
For example, a 2-foot grid can provide a reference when sketching the approximate arrangement of rooms or planning a small building footprint.
Once the layout is established, use precise coordinates, dimensions, and drawing commands to create the final geometry.
Repetitive Object Arrangements
A grid can help visualize regular spacing when arranging equipment, furniture, or other repeated objects.
For example, a warehouse layout may benefit from a visible grid when determining approximate equipment locations before assigning exact dimensions.
Learning AutoCAD Coordinates
For beginners, the drawing grid provides a visual representation of the X and Y coordinate directions.
Experimenting with different grid spacing values can help develop an understanding of drawing units, distances, and the relationship between objects in Model Space.
8. Best Practices for Using GRIDMODE
Choose appropriate grid spacing.
Use intervals that make sense for the drawing. A grid that is too dense can make the drawing difficult to read.
Turn off the grid when necessary.
In detailed drawings, grid lines may interfere with the visibility of actual geometry.
Use precision drafting tools.
GRIDMODE is a visual reference, not a substitute for coordinates, dimensions, Object Snaps, or other precision controls.
Understand Adaptive Grid.
Changes in grid density during zooming do not necessarily mean your grid spacing settings have changed.
Keep GRIDMODE and SNAPMODE separate.
Enable each feature only when it supports your current drafting task.
9. Troubleshooting GRIDMODE
Why Isn't My Grid Displaying?
Verify that GRIDMODE is set to 1. If the grid is enabled but not visible, check the grid spacing, display limits, and Adaptive Grid settings.
Why Does My Grid Disappear When I Zoom Out?
AutoCAD may reduce grid density when Adaptive Grid is enabled. Without Adaptive Grid, AutoCAD may suppress a grid that is too dense for the current view.
Why Doesn't My Cursor Snap to the Grid?
GRIDMODE does not control cursor movement. Enable SNAPMODE using F9 and verify the snap spacing settings.
Why Does My Grid Look Different After Changing Settings?
Changes to grid spacing, major line frequency, grid style, or Adaptive Grid can alter its appearance. Review these options in DSETTINGS.
Why Doesn't the Grid Appear When I Plot?
The AutoCAD drawing grid is a display aid and is not part of the drawing geometry. It does not print or plot.
10. Related Commands and Tools
| Command / Tool | Description |
|---|---|
| GRID | Controls drawing grid display, spacing, and related options. |
| SNAPMODE | Enables or disables cursor snapping to specified increments. |
| DSETTINGS | Opens the Drafting Settings dialog. |
| OSNAP | Locates precise geometric points on existing objects. |
| ORTHO | Restricts cursor movement to horizontal and vertical directions. |
| Polar Tracking | Provides alignment guidance at specified angles. |
11. Frequently Asked Questions
GRIDMODE is a system variable that controls whether the drawing grid is visible. Set it to 1 to display the grid or 0 to hide it.
Press F7, click Grid Display on the status bar, or enter GRIDMODE at the command line and specify 0 or 1.
GRID is a command that provides options for controlling grid display and spacing. GRIDMODE is the system variable that controls whether the grid is on or off.
Enter DSETTINGS, open the Snap and Grid tab, and adjust the Grid X Spacing and Grid Y Spacing values.
GRIDMODE controls grid visibility. SNAPMODE restricts cursor movement to specified increments. They operate independently.
Adaptive Grid may reduce the number of visible lines when zooming out. AutoCAD may also suppress a grid that becomes too dense.
No. The grid is a visual drafting aid and does not appear on plotted drawings.
Yes. GRIDMODE and SNAPMODE operate independently, so the grid can remain visible while the cursor moves freely.
Use the Snap and Grid tab in DSETTINGS to adjust spacing, major grid frequency, and display behavior. GRIDSTYLE controls the dotted grid style.
No. GRIDMODE only displays a visual reference. Accurate geometry is created using coordinates, Object Snaps, dimensions, and other precision drafting methods.
Written by
![]() |
Scott Ogren, PE |
|
Scott Ogren, PE first used AutoCAD in 1993 while in college studying civil / structural engineering. In 2002, I founded Ogren Engineering and have been working for myself since. AutoCAD and drafting skills are a requirement to work for my firm. Over the years, I have coached, tutored, and taught many people how to use and become proficient with AutoCAD. Ogren Engineering: https://ogreneng.com/ In addition, Scott has written software to perform the lateral analysis of a wood-framed building. Shearwall Pro: https://shearwallpro.com/ |

