G81 Drilling Cycle

G81 is the simplest canned drilling cycle: rapid to the hole, feed straight to depth, then rapid retract. It repeats automatically at every X Y position you list until cancelled, which keeps programs short.

Format

G81 X__ Y__ Z__ R__ F__

How it works

  • Z is the final hole depth; R is the retract (clearance) plane above the part.
  • Each following X Y line drills another hole with the same cycle.
  • G80 cancels the cycle.

Example

G81 Z-0.5 R0.1 F5.0
X1.0
X2.0
G80

FAQ

When would I use G81 instead of a peck drilling cycle? G81 is a simple drilling cycle without pecking, best suited to shallow holes where chips clear on their own. For deeper holes needing chip-breaking retracts, a peck cycle like G83 is the better choice.

Does G81 retract to the same height as the starting position? It depends on the retract mode: G98 returns to the initial starting height between holes, while G99 retracts only to the R-plane, a small clearance above the part, which saves cycle time on multi-hole patterns.

Related: G83 peck drilling, G84 tapping, and the Tap Drill Chart.

Simple and fast

G81 drills at every position listed after it, which keeps programs short. It suits shallow holes, usually up to about three times the drill diameter, where chips clear without help. The R value sets the clearance plane above the part and Z sets the final depth, so make sure both are correct before running the first hole.

Common mistakes

G81 is modal and stays active until it is cancelled with G80, so forgetting G80 can leave the machine drilling at the next positions you did not intend. The return plane choice, G98 or G99, decides whether the tool goes back to the starting height or the R plane between holes. For a flat bottom on a blind hole, G82 adds a dwell at the bottom.

Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.