G-code reference

G85: Boring cycle (feed out)

G85 is boring cycle (feed out). Feeds in and feeds back out, for reaming and boring. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What G85 does

G85 feeds to depth and feeds back out at the same rate with the spindle running. It suits reamers and boring bars where a rapid retract would mark the bore.

TypeG-code
MachineMill
GroupCanned cycle
ModalYes: stays active until replaced by another code from the same group

G85 example

G85 X0. Y0. Z-20. R2. F100.

Ream to Z-20, feed in and out.

WordWhat it means here
G85Boring cycle (feed out)
X0.X axis target (on a lathe, the diameter)
Y0.Y axis target
Z-20.Z axis target or depth
R2.arc radius, or the R plane (retract height) in a drilling cycle, or a cycle setting
F100.feed rate (on threading codes, the lead)

Codes people confuse with G85

CodeWhat it does instead
G86 Boring cycle (spindle stop, rapid out). Bores, stops the spindle at the bottom and rapids out.
G76 Fine boring cycle. Bores, orients the spindle and shifts the tool away before retracting.

Other codes in the canned cycle group

Only one code from a modal group is active at a time. Programming any of these replaces G85.

  • G73 High-speed peck drilling
  • G74 Left-hand tapping cycle
  • G76 Fine boring cycle
  • G80 Canned cycle cancel
  • G81 Drilling cycle (spot drill)
  • G82 Drilling cycle with dwell
  • G83 Deep hole peck drilling
  • G84 Tapping cycle (right hand)
  • G86 Boring cycle (spindle stop, rapid out)
  • G89 Boring cycle with dwell (feed out)

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: G85

  1. What does G85 do? (Mill)

  2. Which code: Feeds in and feeds back out, for reaming and boring.(Mill)

  3. What does G86 do? (Mill)

Show the answers
  1. Feeds in and feeds back out, for reaming and boring.
  2. G85
  3. Bores, stops the spindle at the bottom and rapids out.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G85 mean in CNC programming?
Boring cycle (feed out). Feeds in and feeds back out, for reaming and boring.
Is G85 modal?
Yes. G85 belongs to the canned cycle group and stays active until another code from that group is programmed.
What is the difference between G85 and G86?
G85 (boring cycle (feed out)): feeds in and feeds back out, for reaming and boring. G86 (boring cycle (spindle stop, rapid out)): bores, stops the spindle at the bottom and rapids out.
What is the difference between G85 and G76?
G85 (boring cycle (feed out)): feeds in and feeds back out, for reaming and boring. G76 (fine boring cycle): bores, orients the spindle and shifts the tool away before retracting.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint