Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.
  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.
Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.

Altium Designer DRC: How to Set Up Design Rule Checks

Nothing ruins your week quite like getting boards back from fabrication only to discover that two traces are shorted because they were 0.5 mils too close together. Or realizing your vias are too small for the manufacturer’s capabilities. Or finding that a component footprint overlaps another by a fraction of a millimeter. These are exactly the kinds of problems that Altium Designer DRC exists to prevent.

Design Rule Checking is the safety net that catches manufacturing issues before they become expensive mistakes. I’ve been using Altium for over a decade, and I can confidently say that a well-configured DRC has saved me from costly respins more times than I can count. This guide walks you through setting up design rules properly, running checks effectively, and resolving violations efficiently.

Understanding How Altium Designer DRC Works

Before diving into configuration, it helps to understand what the DRC system actually does and how it operates.

What Design Rule Checking Does

DRC is an automated verification system that checks your PCB layout against a defined set of rules. These rules represent the physical and electrical constraints of your design—things like minimum trace widths, clearances between objects, via sizes, and manufacturing limits. When any object in your design violates a rule, Altium flags it as a violation.

Think of design rules as an instruction set for the PCB editor. They tell Altium what’s acceptable and what isn’t, allowing the software to monitor your work and alert you when something goes wrong.

Online DRC vs Batch DRC

Altium provides two modes of design rule checking:

ModeDescriptionWhen to Use
Online DRCChecks rules in real-time as you workDuring active design and routing
Batch DRCRuns a complete check on demandBefore sending to fabrication, after major changes

Online DRC monitors your design continuously. When you place a trace too close to a pad, the violation appears immediately. This real-time feedback prevents you from building up hundreds of violations that become overwhelming to fix later.

Batch DRC performs a comprehensive check of all enabled rules at once. It’s more thorough than Online DRC because it can check rules that would be too computationally expensive to run continuously. Always run a Batch DRC before generating manufacturing outputs.

Important: Online DRC only detects new violations created after it’s enabled. It won’t catch existing violations. That’s why starting and ending every design with a Batch DRC is essential.

Accessing the PCB Rules and Constraints Editor

Design rules are configured in the PCB Rules and Constraints Editor. There are two ways to access it, depending on your project setup.

Method 1: PCB Rules and Constraints Editor (Traditional)

  1. Open your PCB document
  2. Go to Design → Rules (or press D, R)
  3. The PCB Rules and Constraints Editor dialog opens

This is the traditional approach and works for all Altium Designer versions.

Method 2: Constraint Manager (Newer Projects)

If your project was created with Constraint Management enabled:

  1. Open your schematic or PCB document
  2. Go to Design → Constraint Manager
  3. Configure constraints in the matrix-based interface

The Constraint Manager provides a more visual approach to defining clearances and widths, particularly useful for complex designs with multiple net classes.

Note: If you don’t see the Rules command in the Design menu, your project is using the Constraint Manager instead. The two systems are mutually exclusive—you use one or the other, not both.

Essential Design Rule Categories

Altium organizes design rules into categories. Understanding these categories helps you configure the right rules for your design.

Design Rule Categories Overview

CategoryPurposeKey Rules
ElectricalPrevents shorts and ensures connectivityClearance, Short-Circuit, Un-Routed Net
RoutingControls trace characteristicsWidth, Routing Layers, Via Style, Differential Pairs
SMTSurface mount specific rulesSMD To Corner, SMD Neck-Down
MaskSolder mask and paste mask settingsSolder Mask Expansion, Paste Mask Expansion
PlanePower and ground plane connectionsPower Plane Connect Style, Polygon Connect Style
ManufacturingFabrication constraintsMinimum Annular Ring, Hole Size, Board Outline Clearance
PlacementComponent positioningComponent Clearance, Room Definition
Signal IntegrityHigh-speed design rulesMatched Lengths, Flight Time

For most designs, you’ll spend the majority of your time configuring Electrical, Routing, and Manufacturing rules.

Setting Up Clearance Rules

Clearance rules define the minimum distance between electrical objects. They’re the most critical rules for preventing shorts and ensuring manufacturability.

Configuring Basic Clearance

  1. In the PCB Rules and Constraints Editor, expand Electrical → Clearance
  2. Select the default Clearance rule
  3. Set your minimum clearance value

The clearance constraint uses a matrix that lets you define different clearances between different object types:

Object TypeCommon Clearance Setting
Track to Track6-8 mils (0.15-0.2mm)
Track to Pad6-8 mils
Track to Via6-8 mils
Pad to Pad6-8 mils
Via to Via6-8 mils
Track to Polygon10-12 mils
Hole to Hole10-15 mils

Pro tip: Check with your PCB manufacturer for their minimum capabilities. Many low-cost fabricators can achieve 6 mil clearance reliably, but going smaller increases cost.

Creating Net Class-Specific Clearance Rules

High-voltage nets or sensitive analog signals often need larger clearances. Create additional rules for these:

  1. Right-click on Clearance and select New Rule
  2. Name the rule descriptively (e.g., “HighVoltage_Clearance”)
  3. Set the scope using a query like InNetClass(‘HighVoltage’)
  4. Set the higher clearance value
  5. Ensure priority is higher (lower number) than the default rule

Configuring Routing Width Rules

Width rules control trace thickness, which affects current carrying capacity, impedance, and manufacturability.

Setting Up Basic Width Rules

  1. Expand Routing → Width
  2. Select the default Width rule
  3. Configure three values:
    1. Minimum Width: Absolute minimum allowed
    1. Preferred Width: What the router targets
    1. Maximum Width: Upper limit

Recommended Width Settings

Net TypeMin WidthPreferred WidthMax Width
Signal traces4-6 mils6-8 mils20 mils
Power traces10 mils20-40 mils100 mils
High-current20 mils50-100 mils200 mils

Creating Power Net Width Rules

Power and ground traces typically need to be wider than signal traces:

  1. Create a new Width rule
  2. Set scope to InNetClass(‘Power’) or Net = ‘VCC’ OR Net = ‘GND’
  3. Set wider width values
  4. Assign higher priority than the default rule

Setting Up Via Rules

Via rules control the size and style of vias used during routing.

Configuring Routing Via Style

  1. Expand Routing → Routing Via Style
  2. Select or create a rule
  3. Set via parameters:
ParameterDescriptionTypical Value
Via DiameterOuter pad size20-30 mils
Via Hole SizeDrill diameter10-15 mils
Via Solder Mask ExpansionMask opening2-4 mils or tented

Manufacturing consideration: Smaller vias cost more. Standard via capabilities at most fabs are around 10 mil hole / 20 mil pad. Going smaller often adds cost.

Configuring Manufacturing Rules

Manufacturing rules ensure your design is fabricable. These catch issues that might not cause electrical problems but will fail during production.

Minimum Annular Ring

The annular ring is the copper ring around a drilled hole. If it’s too small, the drill might break through the pad.

  1. Expand Manufacturing → Minimum Annular Ring
  2. Set the minimum value (typically 5-8 mils)

Hole Size Rules

  1. Expand Manufacturing → Hole Size
  2. Set minimum and maximum hole sizes based on manufacturer capabilities

Board Outline Clearance

Objects placed too close to the board edge can be damaged during routing or depanelization.

  1. Expand Manufacturing → Board Outline Clearance
  2. Set clearance values (typically 10-20 mils minimum)
  3. Configure the matrix for different object types if needed

Silk to Solder Mask Clearance

Silkscreen printing over exposed copper pads causes soldering problems.

  1. Expand Manufacturing → Silk To Solder Mask Clearance
  2. Enable “Check Clearance to Solder Mask Openings”
  3. Set appropriate clearance (0-2 mils typically)

Running a Batch Design Rule Check

After configuring your rules, run a comprehensive check before generating outputs.

How to Run Batch DRC

  1. Go to Tools → Design Rule Check (or press T, D)
  2. The Design Rule Checker dialog opens
  3. In the left pane, expand Rules To Check
  4. Enable/disable rules for Batch checking as needed
  5. Click on Report Options to configure output
  6. Enable Create Report File if you want documentation
  7. Click Run Design Rule Check

Understanding the DRC Report

After running the check, violations appear in the Messages panel. The report shows:

  • Each rule that was tested
  • Pass/fail status for each rule
  • Detailed list of violations with locations
  • Total violation count

A clean DRC report with zero violations is your goal before manufacturing.

Resolving DRC Violations

When violations occur, Altium provides several tools to find and fix them.

Using the PCB Rules and Violations Panel

  1. Open via View → Panels → PCB Rules And Violations
  2. The panel shows all rule classes with violation counts
  3. Click a rule class to see specific violations
  4. Click a violation to zoom to its location in the design

Three Ways to Resolve Violations

ApproachWhen to UseHow
Fix the violationMost commonMove, resize, or reroute the offending object
Modify the ruleWhen rule is too strictAdjust the rule constraint to match design intent
Waive the violationIntentional violationsMark as acceptable without changing rule or object

Waiving Intentional Violations

Sometimes violations are intentional—like a connector hanging over the board edge. Rather than creating complex rules, waive the violation:

  1. Select the violation in the PCB Rules And Violations panel
  2. Right-click and choose Waive Selected Violations
  3. Enter a reason in the Waived Violation Info dialog
  4. The violation moves to the Waived Violations section

Waived violations remain documented and can be unwaived later if needed.

Read more about Altium relative articles:

Configuring Online DRC Display

Online DRC highlights violations visually as you work. Configure how these appear for better visibility.

DRC Violations Display Settings

  1. Go to DXP → Preferences → PCB Editor → DRC Violations Display
  2. Configure overlay style:
StyleAppearance
None (Layer Color)No highlight, object keeps normal color
Solid (Override Color)Solid color overlay
Style AExclamation pattern overlay
Style BCross pattern overlay
  1. Set the violation color for visibility against your layer colors

Enabling/Disabling Online DRC

  1. Go to DXP → Preferences → PCB Editor → General
  2. Check/uncheck Online DRC

Performance note: For complex designs, Online DRC can slow down the editor. Some designers disable it during heavy routing and re-enable it afterward.

Best Practices for Altium Designer DRC

After years of working with DRC, here are the practices that consistently produce better results.

Start With Manufacturer Rules

Before configuring rules, get your manufacturer’s design guidelines. Most fab houses provide:

  • Minimum trace width and spacing
  • Minimum via sizes
  • Minimum annular ring
  • Drill-to-copper clearances
  • Board edge clearances

Configure your rules to match these capabilities. JLCPCB, PCBWay, and other popular manufacturers publish downloadable rule files.

Create a Rule Template

Once you have a good rule set, save it for future projects:

  1. Configure all rules in a template project
  2. Export rules via Design → Rules → Export Rules (as .RUL file)
  3. Import into new projects to maintain consistency

Run DRC at Key Milestones

Don’t wait until the end to run DRC:

  • After component placement, before routing
  • After routing each major section
  • After any significant design change
  • Before generating any manufacturing outputs

Catching violations early makes them easier to fix.

Useful Resources for DRC Configuration

Official Altium Documentation

Manufacturer Design Rules

Rule File Downloads

Frequently Asked Questions About Altium Designer DRC

Why does Online DRC miss some violations that Batch DRC catches?

Online DRC is optimized for real-time performance, so it only checks a subset of rules and only detects new violations created after it’s enabled. Batch DRC performs a comprehensive check of all enabled rules against the entire design. Some rules, like complex polygon checks or certain manufacturing rules, are too computationally expensive for continuous monitoring. Always run a Batch DRC before manufacturing—never rely solely on Online DRC.

How do I fix clearance violations between pads I can’t move?

When component pads violate clearance rules but you can’t change the footprint, you have several options. First, verify the footprint is correct—sometimes library errors cause the issue. If the footprint is correct, check if your manufacturer can actually handle the clearance. If so, either modify the clearance rule to allow that specific situation using a targeted query scope, or waive the violation with documentation explaining why it’s acceptable.

Can I import design rules from my PCB manufacturer?

Yes, many manufacturers provide downloadable rule files (.RUL format) configured for their capabilities. To import: go to Design → Rules, right-click in the rules tree, and select Import Rules. Browse to the .RUL file and import. Review the imported rules and adjust priorities as needed. JLCPCB, for example, provides rule files for their standard capabilities that you can download from their help center.

What’s the difference between the PCB Rules Editor and Constraint Manager?

The PCB Rules and Constraints Editor is the traditional, dialog-based interface for configuring design rules. The Constraint Manager is a newer, matrix-based approach that’s enabled when creating a project. The main difference is workflow—Constraint Manager is more visual for clearance and width settings and allows defining constraints from the schematic side. You use one or the other, not both. If you don’t see Design → Rules, your project uses Constraint Manager; access it via Design → Constraint Manager instead.

How do I handle DRC violations for deliberately placed objects like board edge connectors?

For intentional violations like connectors extending beyond the board edge, use Altium’s waive feature rather than disabling the rule entirely. Select the violations in the PCB Rules And Violations panel, right-click, choose Waive Selected Violations, and document why it’s acceptable. This keeps the rule active for catching real problems while acknowledging that specific violations are intentional. Waived violations are tracked and included in DRC reports with your explanation.

Final Recommendations for Effective DRC

Altium Designer DRC is one of the most valuable tools in your design workflow, but only if you configure and use it properly. Here’s how to get the most from it:

Set up rules before you start designing. Configuring rules after routing means fixing violations you could have prevented. Take the time upfront to match rules to your manufacturer’s capabilities.

Use Online DRC during active design. The real-time feedback prevents violations from accumulating. Yes, it can slow down the editor on complex designs, but the time saved fixing violations more than compensates.

Run Batch DRC at milestones. Don’t wait until the end. Check after placement, after routing sections, and before generating outputs. Early detection means easier fixes.

Document your waivers. When you waive a violation, explain why. Future you (or a colleague) will appreciate knowing that the connector overhang was intentional, not an oversight.

Save your rule sets. Once you have rules configured for a manufacturer, export them. Importing proven rules into new projects saves time and ensures consistency.

A clean DRC report doesn’t guarantee a perfect board, but it dramatically reduces the risk of preventable manufacturing issues. Invest the time in proper DRC configuration—your future self will thank you when boards come back working on the first spin.

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Sales & After-Sales Service

Contact & Quotation

  • Inquire: Call 0086-755-23203480, or reach out via the form below/your sales contact to discuss our design, manufacturing, and assembly capabilities.

  • Quote: Email your PCB files to Sales@pcbsync.com (Preferred for large files) or submit online. We will contact you promptly. Please ensure your email is correct.

Drag & Drop Files, Choose Files to Upload You can upload up to 3 files.

Notes:
For PCB fabrication, we require PCB design file in Gerber RS-274X format (most preferred), *.PCB/DDB (Protel, inform your program version) format or *.BRD (Eagle) format. For PCB assembly, we require PCB design file in above mentioned format, drilling file and BOM. Click to download BOM template To avoid file missing, please include all files into one folder and compress it into .zip or .rar format.