G-code reference

G85 G-Code: Boring Cycle (Feed In, Feed Out)

Boring Cycle (Feed In, Feed Out) — Feeds to depth and feeds back out with the spindle running. It is also used for reaming.

By cnccode · Updated
PropertyValue
CodeG85
FunctionBoring Cycle (Feed In, Feed Out)
Modal group09
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG85 X_ Y_ Z_ R_ F_

What does G85 do?

Feeds to depth and feeds back out with the spindle running. It is also used for reaming.

G85 is modal: once programmed it remains in effect for the following blocks until another code from modal group 09 replaces it or the control is reset.

Syntax and parameters

Format
G85 X_ Y_ Z_ R_ F_

G85 example program

Example
G98 G85 X0 Y0 Z-20.0 R2.0 F80. (ream)
G80

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Feeding out can leave a slight spiral mark; G86/G76 avoid that.

Controller compatibility

G85 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G85 modal?
Yes. G85 belongs to modal group 09 and stays active until another code of that group is programmed.
What does G85 mean in CNC?
G85 means Boring Cycle (Feed In, Feed Out). Feeds to depth and feeds back out with the spindle running. It is also used for reaming.
What is the difference between G85 and G86?
G85 is Boring Cycle (Feed In, Feed Out), while G86 is Boring Cycle (Spindle Stop, Rapid Out). See the G86 page for its syntax and examples.
Can I use G85 on a lathe?
Usually not with the same meaning: G85 is documented here for milling machines. Check your control manual for the equivalent.