What is the use of G codes in medical billing?

Editorial team Published on

G-codes are Medicare-specific HCPCS Level II codes used to report professional healthcare services, procedures, and quality data that do not have matching standard CPT codes.

Key Uses of G-Codes

  • Preventive and Wellness Services: Reporting annual wellness visits, specific cancer screenings, and vaccine administrations (like flu or pneumococcal shots).
  • Telehealth and Outpatient Care: Documenting virtual check-ins, remote evaluations, and specialized clinic or Federally Qualified Health Center (FQHC) encounters.
  • Quality Reporting: Tracking data for federal initiatives like the Merit-Based Incentive Payment System (MIPS) to evaluate care quality and provider performance.
  • Filling Coding Gaps: Acting as temporary or permanent identifiers created by the Centers for Medicare & Medicaid Services (CMS) when standard terminology lacks a specific procedure or tracking mechanism.

Important Rules for Providers

  • Medicare Focus: They apply almost exclusively to Medicare and specific federal or state healthcare programs; submitting them for commercial non-Medicare patients usually results in a claim denial.
  • Frequent Updates: Many G-codes change, expire, or get replaced by permanent CPT codes as billing guidelines evolve.

What is the purpose of G codes?

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 still required for Medicare?

G-codes are no longer required for outpatient therapy functional limitation reporting, but they are still required for many other Medicare services.

Outpatient Therapy G-Codes

  • The Rule: Medicare stopped requiring functional limitation G-codes and severity modifiers for physical, occupational, and speech therapy effective January 1, 2019.
  • Current Status: You do not report functional tracking G-codes (or CH-CN modifiers) at evaluation or discharge for Medicare Part B therapy anymore.
  • What's Still Needed: Standard therapy modifiers like GP, GO, and GN are still mandatory on claims.

Where G-Codes Are Still Required

  • Preventive & Wellness Services: Medicare uses specific G-codes for annual wellness visits, screenings, and preventive services that lack standard CPT codes.
  • Telehealth & Special Programs: CMS regularly introduces temporary or permanent G-codes for virtual care, new care management models (such as Advanced Primary Care Management), and specific procedures.
  • Quality Reporting: Certain G-codes remain tied to programs like MIPS (Merit-based Incentive Payment System).

You can check the official Centers for Medicare & Medicaid Services (CMS) HCPCS Level II Coding Process for ongoing updates on active codes.

What is the difference between G codes and CPT codes?

The main difference is that CPT codes are universal medical codes used by all insurance payers, while G-codes are specialized codes created by Medicare for specific services and temporary programs.

CPT Codes (Current Procedural Terminology)

  • Who maintains them: The American Medical Association (AMA).
  • What they look like: Five-digit numeric codes.
  • Who uses them: Universal use across private insurance, Medicaid, and Medicare.
  • Purpose: They describe standard medical, surgical, and diagnostic services provided to patients.

G-Codes

  • Who maintains them: The Centers for Medicare & Medicaid Services (CMS).
  • What they look like: Alphanumeric codes starting with the letter "G" followed by four numbers.
  • Who uses them: Primarily used for Medicare and federal health programs.
  • Purpose: They cover professional services or procedures that do not have a matching CPT code, or services created for temporary pilot programs, telehealth, and preventive screenings.

What are the three basic G codes?

The three most basic G-codes used to program CNC Machine movements are G00 (rapid positioning), G01 (linear interpolation/cutting), and G02/G03 (circular interpolation).

The Core Motion Commands

  • G00 – Rapid Positioning: Moves the machine tool to a specified coordinate at its maximum possible speed without cutting material. Use this for non-cutting travel to position the tool near the workpiece quickly.
  • G01 – Linear Interpolation: Moves the tool in a straight line at a controlled, specified feed rate (set by an "F" command) to cut material.
  • G02 / G03 – Circular Interpolation: Moves the tool in an arc or circle. G02 specifies a clockwise arc, while G03 specifies a counter-clockwise arc, both moving at a set feed rate.

The Paul Chandler Show Ep. 070 HCPCS G Codes

9 related questions found

What are G codes used for in medical billing?

G-codes in medical billing are temporary HCPCS Level II codes created by the Centers for Medicare & Medicaid Services (CMS) to report professional healthcare services, procedures, or preventive visits that do not have a matching standard CPT code.

What G-Codes Do

  • Fill Coding Gaps: They represent specific medical procedures, professional tasks, or technical services when regular CPT codes are unavailable or do not fit Medicare requirements.
  • Target Medicare Beneficiaries: They are designed primarily for Medicare and federal healthcare programs, meaning claims usually face denial if submitted for non-Medicare patients.
  • Support Special Programs: They track data for telehealth services, preventive screenings, annual wellness visits, and quality-reporting initiatives like MIPS (Merit-Based Incentive Payment System).

Common Uses of G-Codes

  • Preventive & Wellness Visits: Reporting specific annual wellness exams or specific screenings.
  • Telehealth Check-ins: Designating virtual consultations or remote evaluations that require specialized tracking.
  • Outpatient & Specialized Care: Identifying professional health care services or temporary procedures before a permanent CPT code is assigned.

What are the most common G codes?

The most common G-codes used in CNC programming control machine movement, positioning systems, and basic operational modes.

For a complete breakdown of instructions, you can read the G-code Explained Guide or consult the List of Common G-Code Commands for additional machinist conventions.

Motion and Positioning

  • G00: Rapid positioning (moves the tool as fast as possible without cutting).
  • G01: Linear interpolation (moves the tool in a straight line at a set feed rate).
  • G02: Clockwise circular interpolation (cuts an arc in a clockwise direction).
  • G03: Counterclockwise circular interpolation (cuts an arc counterclockwise).
  • G04: Dwell (pauses machine movement for a set time).

Units and Planes

  • G17 / G18 / G19: Plane selection for XY (G17), XZ (G18), or YZ (G19) working planes.
  • G20: Sets units to inches.
  • G21: Sets units to millimeters (metric).

Coordinate Systems

  • G28: Returns the tool to the reference home position.
  • G40 / G41 / G42: Cutter radius compensation (cancels, or compensates to the left or right of a profile).
  • G54 through G59: Work coordinate systems (selects preset zero offsets for parts).
  • G90: Absolute positioning mode (coordinates measure from a fixed origin).
  • G91: Incremental positioning mode (coordinates measure relative to the last point).

Which codes should never be used as primary diagnosis codes?

According to official ICD-10-CM Official Guidelines, certain categories of codes should never be used as a primary, principal, or first-listed diagnosis.

Types of Codes That Cannot Be Primary

  • Manifestation codes: These describe a condition caused by an underlying disease (often labeled "in diseases classified elsewhere") and must always follow the primary code for the underlying condition.
  • External cause codes: Codes in the V, W, X, or Y ranges explain how an injury happened, not the nature of the injury itself.
  • "Code first" and secondary notes: Codes that state "use additional code" or require an underlying etiology first cannot stand alone in the primary position.
  • Non-specific symptom codes: General signs, symptoms, and ill-defined conditions (such as debility or adult failure to thrive) are unacceptable as primary when a definitive diagnosis is already known.

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.

How hard is g-code to learn?

G-Code is not hard to learn for basic commands, but mastering it takes practice and real-world machining experience.

Why the Basics Are Easy

  • Small vocabulary: The core language uses a short list of letters and numbers (like G00 for rapid movement and G01 for straight-line cutting).
  • Logical structure: Commands follow a straightforward Cartesian coordinate system (X, Y, and Z axes) to tell a machine where to go.
  • Quick feedback: You can test simple codes using a G-Code Editor software to see your commands translated into visual movements.

Why Advanced G-Code Is Harder

  • Complex math and logic: Advanced programming requires understanding canned cycles (repetitive drilling or boring routines), custom macros, and machine kinematics.
  • High stakes: A single typo in a coordinate or feed rate can crash a physical cutting tool into expensive metal or break a machine.
  • CAM software does the heavy lifting: Most modern shops use Computer-Aided Manufacturing (CAM) software to generate long, complicated files automatically.

Do You Need to Learn It?

  • Reading is essential: Even if you do not write full programs from scratch, you must know how to read and edit G-Code to troubleshoot errors or tweak settings on the shop floor.
  • For 3D printing: Manual coding is rarely necessary unless you want to do experimental work.
  • For CNC machining: Knowing the basics gives you a deeper control over your machine than relying on software alone.