Are G codes only used for Medicare?

Editorial team Published on

G-codes are primarily created by the Centers for Medicare & Medicaid Services (CMS) for Medicare billing, but they are part of the national HCPCS Level II code set and can theoretically be recognized by other insurers.

Why G-Codes Are Medicare-Focused

  • Created by CMS: The CMS Overview of Coding Systems notes that G-codes are established specifically to support federal policy, tracking, and claims processing needs when a standard CPT code does not exist.
  • Commercial Payer Denials: Submitting G-codes to commercial insurance or Medicaid plans without prior authorization or specific contract rules usually results in an immediate claim denial.
  • Specialized Tracking: They are heavily used for Medicare-specific programs like Annual Wellness Visits, temporary telehealth rules, and quality reporting.

What are G codes used for?

G-codes are used in two completely different fields: computer numerical control (CNC) machining to program automated tools, and medical billing to report specific services to Medicare.

1. G-Codes in CNC Machining (Manufacturing)

In manufacturing, G-code is a programming language used to tell computerized machine tools (like 3D printers, lathes, and mills) how to make a physical part.

  • Tool Movement: Controls how fast and in what direction the machine moves along axes (like X, Y, and Z coordinates).
  • Cutting Operations: Instructs the machine on linear cuts, rapid movements, and circular arcs.
  • Speed and Power: Manages spindle speed, coolant flow, and tool changes.
  • Common Examples:
    • G0 tells the machine to make a rapid, un-machined move to a location.
    • G1 commands a controlled linear cutting move at a specific feed rate.

Learn more about basic machine commands in this Fusion 360 CNC Guide.

2. G-Codes in Medical Billing (Healthcare)

In healthcare administration, G-codes are a category of temporary HCPCS Level II codes created by the Centers for Medicare & Medicaid Services (CMS).

  • Filling Coding Gaps: Used when a medical procedure or service does not have a standard CPT (Current Procedural Terminology) code.
  • Telehealth and Special Services: Used by doctors to bill for specific virtual or pandemic-era care options (like code G2025).
  • Screenings and Tests: Identifies specific diagnostic tests such as low-dose CT scans for lung cancer screening (G0297).
  • Tracking Outcomes: Historically used for functional limitation reporting in physical or occupational therapy to measure patient progress.

Read more about these medical definitions through the CMS Overview of Coding Systems.

Are G codes covered by Medicaid?

Whether HCPCS "G codes" are covered by Medicaid depends entirely on the specific state's Medicaid program and the individual code, as coverage is not nationally standardized.

How Medicaid Handles G Codes

  • State-Specific Rules: G codes are created by the Centers for Medicare & Medicaid Services (CMS) primarily for Medicare, but state Medicaid agencies decide independently whether to adopt, recognize, or reimburse them.
  • Varying Usage: Some state Medicaid programs adopt certain G codes (such as those for Federally Qualified Health Centers like G0511 or G0512), while other states reject specific G codes entirely and require alternative local or CPT/HCPCS codes (like T1015) for identical services.
  • Dual-Eligible Claims: For patients with both Medicare and Medicaid, specific federal or state crossover billing rules dictate whether a G code is accepted or restricted on the claim.

What You Should Do

  • Check your State Medicaid Agency Website or provider manual to review local billing guidelines.
  • Verify fee schedules or contact your state’s Medicaid provider helpline to confirm if a specific "G" code is payable in your jurisdiction.

Are G codes still used?

Yes, G-codes are still widely used today, though their application depends entirely on whether you mean manufacturing or medical billing.

1. In CNC Machining and 3D Printing (Very Active)

In manufacturing, CNC G-code (Geometric Code) remains the fundamental programming language used to control machine tools, routers, mills, lathes, and 3D printers.

  • How it works now: Programmers rarely write long programs by hand today. Instead, computer-aided manufacturing (CAM) software translates digital 3D models automatically into machine-ready G-code.
  • Why it matters: Even though software writes the code, the physical machine still executes every single movement, speed, and cut using G-code. Machinists must still understand G-code to troubleshoot errors, tweak toolpaths, and run safe operations.

2. In Medical Billing (Still Used, But Changed)

In healthcare, G-codes are temporary or Medicare-specific billing codes managed by the Centers for Medicare & Medicaid Services (CMS).

  • How they are used: Medicare uses G-codes to track specific services, preventive screenings, wellness visits, and telehealth options that do not have a standard CPT (Current Procedural Terminology) code.
  • What changed: While general medical and telehealth G-codes remain active, Medicare completely discontinued the mandatory use of functional limitation reporting G-codes for physical, occupational, and speech therapy back in 2019.

Is G-code still relevant today?

Yes, G-code is still completely relevant and remains the core backbone of modern CNC manufacturing and 3D printing.

Why G-Code Remains Relevant

  • Universal Standard: Nearly every CNC machine and FDM 3D printer natively understands G-code, making it the universal language of automated manufacturing across different brands and countries.
  • Direct and Deterministic: G-code provides explicit, line-by-line instructions telling the machine exact tool paths, speeds, and coordinates without hidden abstraction layers.
  • The Output of Modern Software: Even though humans rarely write massive programs by hand today, advanced CAM software and AI tools automatically generate G-code to feed directly into the machine controllers.
  • Troubleshooting Utility: Machinists and engineers still rely on reading G-code directly to diagnose errors, verify intent, and tweak production runs on the shop floor.

Medicare's G2211 Add-on Code: 2024 Guide + Major 2025 Updates!

9 related questions found

What are the three basic G-codes?

The three most basic and foundational G-codes for CNC machines are G00 (Rapid Positioning), G01 (Linear Interpolation), and G02/G03 (Circular Interpolation).

The Core Motion Codes

  • G00 – Rapid Positioning: Moves the machine tool to a specific coordinate as fast as possible. The tool does not cut material during this move. Use it to reposition above the workpiece safely.
  • G01 – Linear Interpolation: Moves the tool in a straight line at a set speed. This speed is called the feed rate. Use it when the machine needs to cut material in a straight line.
  • G02 / G03 – Circular Interpolation: Moves the tool in an arc or circle. G02 moves the tool in a clockwise direction. G03 moves the tool in a counterclockwise direction.

You can learn more about how these commands work together in this G-code Guide.

What are the most common G-codes?

The most common G-codes used in CNC machining and 3D printing are fundamental preparatory commands that control machine movement, units, and positioning modes. You can read more detailed explanations on programming guides like G-code Explained or reference resources like CNC Cookbook.

Basic Motion Commands

  • G00 (or G0): Rapid positioning. Moves the tool to target coordinates at the maximum possible speed without cutting the material.
  • G01 (or G1): Linear interpolation. Moves the tool in a straight line at a specified cutting feed rate (F).
  • G02 (or G2): Clockwise circular interpolation. Moves the tool in a clockwise arc or circle.
  • G03 (or G3): Counterclockwise circular interpolation. Moves the tool in a counterclockwise arc or circle.
  • G04 (or G4): Dwell. Pauses machine movement for a specified time without stopping the spindle.

Units and Planes

  • G20: Select inch units.
  • G21: Select metric units (millimeters).
  • G17: Selects the XY working plane (default for most operations).
  • G18: Selects the XZ working plane.
  • G19: Selects the YZ working plane.

Positioning and Coordinate Systems

  • G28: Return to home or reference position.
  • G54 through G59: Work coordinate systems. Selects predefined zero-point offsets for the workpiece.
  • G90: Absolute positioning mode. Coordinates are interpreted as exact positions relative to the origin point.
  • G91: Incremental (relative) positioning mode. Coordinates are interpreted as distances moved relative to the current position.

Tool Compensation and Cycles

  • G40: Cancel cutter radius compensation.
  • G41 / G42: Cutter compensation left (G41) or right (G42).
  • G43: Apply tool length compensation.
  • G80: Cancel any active canned cycle (such as drilling or boring).
  • G81: Standard drilling cycle.

Are G codes only billed to Medicare?

G-codes are primarily created and required by Medicare, but they are technically national HCPCS Level II codes that can occasionally be adopted by other insurers.

Why G-Codes Are Mostly for Medicare

  • Medicare-Specific Design: The Centers for Medicare & Medicaid Services (CMS) designs G-codes to track temporary services, preventive visits, telehealth, or quality reporting programs (like MIPS) that standard CPT codes do not cover.
  • Commercial Payer Rejections: Submitting G-codes to commercial insurance or Medicaid plans without prior confirmation or specific written agreements usually results in an immediate claim denial.
  • Rare Exceptions: Some non-Medicare payers might adapt specific G-codes for their own internal tracking or unique quality reporting initiatives, but this is uncommon and requires checking individual payer rules.

What are all the G codes?

G-codes are the geometric and preparatory programming commands used to control CNC machining equipment like mills, lathes, and 3D printers.

Because hundreds of specialized G-codes exist and vary by machine manufacturer (such as Haas, Fanuc, or Siemens), listing every single variant is impractical. However, the core, standardized G-codes used across nearly all machines include the following:

Essential Motion and Positioning

  • G00: Rapid motion positioning (moves the tool as fast as possible without cutting).
  • G01: Linear interpolation motion (cuts in a straight line at a set feed rate).
  • G02: Circular interpolation motion clockwise (cuts a clockwise arc or circle).
  • G03: Circular interpolation motion counterclockwise (cuts a counter-clockwise arc or circle).
  • G04: Dwell (pauses machine movement for a specified time).
  • G28: Return to machine zero reference point.

Units and Planes

  • G17: XY plane selection.
  • G18: XZ plane selection.
  • G19: YZ plane selection.
  • G20: Select inch measurement system.
  • G21: Select metric (millimeter) measurement system.

Coordinate Systems and Positioning Modes

  • G90: Absolute positioning mode (coordinates measured from the origin zero point).
  • G91: Incremental positioning mode (coordinates measured relative to the last point).
  • G54–G59: Work coordinate system selection (selects preset offsets 1 through 6).
  • G10: Set offsets or programmable data input.

Compensation and Tool Length

  • G40: Cutter compensation cancel.
  • G41 / G42: Cutter compensation left (G41) or right (G42).
  • G43: Tool length compensation (positive addition).
  • G49: Cancel tool length compensation.

Canned Cycles (Drilling and Boring)

  • G73: High-speed peck drilling cycle.
  • G80: Cancel canned cycle.
  • G81: Standard drilling cycle.
  • G83: Normal peck drilling cycle.
  • G84: Tapping cycle.

Which code is most commonly used by Medicaid?

Medicaid uses the Healthcare Common Procedure Coding System (HCPCS), which includes CPT codes (Level I) for standard medical and physician procedures and HCPCS Level II (and T/H codes) for state-specific services, supplies, and home care.

Core Code Types Used by Medicaid

  • CPT Codes (Level I): Five-digit numeric codes used for routine medical, surgical, and evaluation services (such as office visits like 99213 or 99214).
  • HCPCS Level II (Alphanumeric): Codes starting with a letter followed by numbers, used for items like equipment, injections, and transport.
  • T-Codes & H-Codes: Special subsets within HCPCS Level II frequently used by state Medicaid agencies for home and community-based services (like personal care code T1019) and behavioral health.