Blog
sox controls testingsox 404 testingsox test of controls

SOX Controls Testing: How to Do It Step by Step with AI

How to run SOX controls testing: scope, test steps, sample sizes, evidence, deficiencies, and AI prompts that cut the repetitive documentation work.

Portrait of Luis Chavez-Mattos
Edited by Luis Chavez-Mattos, Director, Product··RSS

For Accounting, Legal & Compliance and Finance

A person holds an endlessly long audit checklist while a glowing robotic pen instantly fills out the repetitive sections.

What is SOX controls testing?

SOX controls testing is the work of proving that the internal controls over financial reporting (ICFR) at a public company are designed well and actually operate as described. Under Sarbanes-Oxley Section 404, management must assess those controls each year, and for many companies the external auditor must also give an opinion. Testing means picking a control, choosing a sample of times it ran, collecting evidence, checking it against the control description, and documenting a conclusion.

TL;DR

  • Testing answers two questions. Is the control designed to catch the risk (design effectiveness), and did it work throughout the period (operating effectiveness)?
  • Scope comes first. Test the key controls tied to significant accounts and relevant assertions, not every control in the company.
  • Every test follows the same shape: a procedure, a sample, evidence, an exception count, and a conclusion. That repetition is where AI saves the most time.
  • Sample sizes depend on how often the control runs, and your external auditor's methodology usually sets the floor.
  • AI drafts and summarizes; people decide. Use it for test scripts, evidence checklists, and workpaper wording. Do not let it select samples, evaluate deficiencies, or sign off.
  • Keep company data inside an approved tool. Evidence often contains vendor names, bank details, and employee information.

Who does SOX controls testing, and who needs to understand it?

Testing is shared work. Control owners in accounting and finance perform the controls and supply evidence. Internal audit or a SOX compliance team usually does the management testing. Legal and compliance weigh in on disclosure controls and certifications. Managers sign off on remediation. The external auditor performs its own testing and decides how much of management's work it can use.

If you own a control, you do not need to run the whole program, but you do need to know what a tester will ask you for. If you run the program, you need a repeatable process. The steps below serve both.

How do you run SOX controls testing, step by step?

Step 1: Confirm the scope and the key controls

Start from the risk and control matrix (RCM) your team already maintains. Confirm which controls are in scope this year. Scope typically follows significant accounts, the assertions that matter for each (existence, completeness, valuation, rights and obligations, presentation), and the business processes and systems feeding them.

Mark each in-scope control as key or non-key. Key controls are the ones you rely on to prevent or detect a material misstatement. Review what changed since last year: new systems, acquisitions, reorganizations, turnover in control owners, new accounting standards. Changes are where failures tend to appear.

Step 2: Understand and document the control

For each key control, write down who performs it, how often, what system or report it uses, what exactly is checked, what threshold triggers follow-up, and what evidence it leaves behind. A control that says "management reviews the reconciliation" is too vague to test. A control that says "the Controller reviews the bank reconciliation within 10 business days of month end, investigates reconciling items over a set threshold, and signs off in the close tool" can be tested.

Step 3: Assess design effectiveness

Walk through one instance from start to finish. Ask whether the control, if performed as written, would catch the error it is meant to catch. Check that the reviewer is competent, independent from the preparer, and has accurate data to review. A control can run on time every month and still fail on design if the reviewer never looks at the right thing.

Step 4: Write the test procedure

A good test script is specific enough that a different tester would reach the same conclusion. Typical procedures combine four techniques:

  • Inquiry: asking the control owner. Weak on its own.
  • Observation: watching the control being performed.
  • Inspection: examining documents, approvals, and system records.
  • Reperformance: doing the control yourself with the same inputs and comparing results.

Inquiry alone never supports a conclusion. Pair it with inspection or reperformance.

Step 5: Select the sample

Sample size depends on how often the control operates. The numbers below are ranges commonly used in practice. They are not law. Your external auditor's methodology and your own policy govern.

Control frequencyTypical sample range
Annual1
Quarterly2
Monthly2 to 5
Weekly5 to 15
Daily20 to 40
Multiple times per day25 to 60

Higher-risk controls and manual controls generally get larger samples than automated ones. Automated controls are often tested by confirming the configuration once and testing the IT general controls (change management, access) that protect it. Spread the sample across the whole period, not just the last month. Document how you picked it so someone else can repeat the selection.

Step 6: Collect and inspect the evidence

Request evidence from control owners with a clear list: what item, which period, what format. For each sample, check that:

  • The control was performed by the right person, in the right timeframe.
  • The reviewer's evidence is real (a signature, a system approval with timestamp), not a verbal assurance.
  • The underlying report was complete and accurate. This is the "information produced by the entity" (IPE) check: how do you know the report the reviewer used had all the transactions?
  • Any exceptions the control found were followed up and resolved.

For controls run by an outside service provider, review the provider's SOC 1 report, check the period it covers, and confirm that your company performs the user-entity controls the report assumes.

Step 7: Conclude and evaluate exceptions

Record each sample as pass or exception, with a short note. If any exception appears, find out why before concluding. Was it a one-off miss, a design gap, or a sign the control is not really operating? Many methodologies allow no exceptions for a standard sample on a manual control, but follow your own policy and auditor guidance, including how to expand a sample.

Unresolved failures become control deficiencies. These are classified by severity: control deficiency, significant deficiency, or material weakness. Severity depends on the likelihood and magnitude of a potential misstatement and on whether compensating controls exist. That judgment belongs to the people accountable for it: the SOX lead, the controller, the CFO, and the audit committee for the serious cases. Do not delegate it to a tool.

Step 8: Remediate and retest

Each deficiency needs an owner, a fix, a date, and a retest. A remediated control generally must operate for long enough and enough times to show it works before you can conclude on it. Plan retest windows before year-end, not during the close.

Where does AI actually help with SOX testing?

Most testing time goes to documentation: writing similar scripts for dozens of controls, chasing evidence, summarizing what you found, and tidying workpapers. That is where AI is useful. It is poor at the parts that need judgment or exact numbers.

TaskAI roleYour check
Turning a control description into a test scriptStrong first draftDoes it match how the control really runs?
Evidence request lists and emails to control ownersStrong first draftCorrect period, correct system names
Summarizing long policies or a SOC 1 reportGood for orientationRead the sections that matter yourself
Workpaper wording and conclusion notesGood draftingFacts match the evidence
Spotting gaps in a control descriptionUseful second readerYou decide what is a real gap
Selecting samplesDo not useUse your audit tool or a documented random method
Recalculating numbers, tying out totalsDo not rely on itUse spreadsheets or your tools
Classifying a deficiencyDraft reasoning onlyA named accountable person decides

Before pasting anything, confirm that your company allows the AI tool you are using for this data. Strip names, account numbers, and vendor details when you can.

What prompts should you use for each step?

Prompt 1: Turn a control description into a test script

You are helping a SOX internal audit team write a test of operating
effectiveness. Below is a control description. Write a test script with:
1. Control objective and risk addressed
2. Control frequency and suggested sample approach (say it depends on
   our methodology; do not invent a number)
3. Numbered test steps using inspection and reperformance, not just inquiry
4. Evidence to request from the control owner
5. Attributes to check for each sample (who, when, what, evidence)
6. What counts as an exception
7. Questions I should ask the control owner to clarify ambiguity

Control description:
[paste the description, with names and amounts removed]

Prompt 2: Find weak spots in the control description

Review this control description as an external auditor would. List
anything vague or untestable: unclear owner, no timing, no threshold,
no evidence, no mention of how report completeness is verified.
For each, suggest a clearer wording. Do not assume facts not in the text.

[paste the description]

Prompt 3: Draft the evidence request

Write a short, polite email to a control owner requesting evidence for a
SOX test. Control: [name]. Period: [dates]. Items needed: [list of
sample items]. Format: PDF or screenshot with date visible. Deadline:
[date]. Explain what we will check, so they can pull the right file the
first time.

Prompt 4: Summarize results into a workpaper note

Draft a concise conclusion paragraph for a SOX workpaper from these
test results. Use only the facts below. State the sample size, number
of exceptions, nature of each exception, and the conclusion I have
already reached. Do not change my conclusion or add facts.

Results: [paste your table of pass/exception notes]
My conclusion: [effective / not effective]

What does a worked example look like?

Take a monthly bank reconciliation review control.

Control description (as written in the RCM): The Assistant Controller prepares the bank reconciliation for the main operating account within 7 business days of month end. The Controller reviews it within 10 business days, confirms reconciling items older than 30 days are investigated, and signs off in the close tool.

Test script (after running Prompt 1 and editing it):

  1. Obtain the population of monthly reconciliations for the period.
  2. Select the sample per the methodology, spread across the year.
  3. For each month, confirm the reconciliation was prepared and reviewed within the stated deadlines using the close tool timestamps.
  4. Agree the bank balance on the reconciliation to the bank statement.
  5. Agree the GL balance to the trial balance.
  6. Reperform the arithmetic.
  7. Check that reconciling items older than 30 days have a documented explanation and follow-up.
  8. Confirm the reviewer is the Controller and not the preparer.

What AI got right: the structure, the attributes, the evidence list.

What you fix: the real deadlines, the system names, and any steps that don't match how your team works. If the AI wrote "review the monthly sign-off" without checking timeliness, add the timestamp test yourself. Steps 4 to 6 must be done with real documents, in your own tools, not by an AI reading a screenshot and telling you the numbers tie.

Suppose one month shows the review signed on day 14. That is a timing exception. Ask why. If it was a holiday closure and the reviewer did a full review, you may judge it a minor deviation under your policy. If the reviewer approved without opening the reconciling items, that is a bigger problem. Document both the facts and the reasoning, and escalate according to your process.

What mistakes make SOX testing fail?

  • Testing the paperwork, not the control. A signature proves someone signed. Check that the review had enough precision to catch an error.
  • Ignoring report completeness. If the reviewer relied on a system report, someone must show the report was complete and accurate.
  • Bunching samples at year-end. Controls can fail in March and be fixed by December.
  • Late evidence requests. Control owners are busy during close. Ask early and be specific.
  • Vague exceptions. "Missing evidence" is not a finding. Write what is missing, for which sample, and why it matters.
  • Pasting sensitive data into unapproved AI tools. This creates a new risk while you are testing for risk.
  • Letting AI wording carry the conclusion. A well-written workpaper that misstates the facts is worse than a plain one that is right. Your auditor may reperform your work and review how it was done.

Can AI replace the SOX tester?

No, and the reason is accountability more than capability. Management owns the assessment. Someone has to stand behind each conclusion, defend it to the external auditor, and support the CEO and CFO certifications. AI can cut the hours spent drafting scripts, requests, and summaries. It cannot observe a control being performed, judge whether a reviewer was paying attention, or accept responsibility for a material weakness decision.

What changes is the shape of the work. Less time goes to blank-page documentation, and more goes to evidence quality, root causes, and talking with control owners. Testers who can write precise control language and review AI drafts critically become more useful, not less.

Can you build your own SOX testing tracker instead of using spreadsheets?

Most teams track SOX testing in spreadsheets: one tab for the control matrix, another for test status, another for evidence requests, another for deficiencies. It works until versions diverge and nobody knows which file is current. With Remy, you can describe a small internal tool in plain English, for example a control library with owners and frequencies, test assignments with due dates, an evidence request log, and a deficiency tracker with remediation dates. Remy builds the full-stack app with sign-in and role-based access, so testers, control owners, and reviewers see what they should. It also has an immutable audit log. Check with your security and audit teams before putting real financial data in any new system.

Frequently Asked Questions

5 questions

What is the difference between testing design and operating effectiveness?

Design effectiveness asks whether the control, if performed as written, would prevent or detect a material misstatement. Operating effectiveness asks whether it was actually performed as designed, consistently, by a qualified person, throughout the period. A control can be well designed but not operate, or operate faithfully but be poorly designed. You need both.

How many samples do I need for a SOX control test?

It depends on the control's frequency, its risk, and whether it is manual or automated. Commonly used ranges run from one sample for an annual control to dozens for a control that runs daily or more. Your external auditor's methodology and your company's SOX policy set the actual numbers, so follow those.

Can I give evidence to an AI tool to review?

Only if your company has approved that tool for this kind of data. Evidence can contain bank details, vendor and employee information, and nonpublic financial results. Remove identifiers where you can, and never rely on AI to confirm that numbers tie. Do that in your own tools with the source documents.

What happens if a control fails testing?

The failure is logged as a deficiency, its cause is investigated, and its severity is evaluated: control deficiency, significant deficiency, or material weakness. The control owner remediates, and the control is retested after it has operated long enough to show it works. Significant deficiencies and material weaknesses go to senior finance leaders and the audit committee under your process.

Does the external auditor accept management's testing?

Often the auditor uses some of management's work, depending on the competence and objectivity of the testers and the risk of the control. Higher-risk areas generally require the auditor to do more of its own testing. Clear scripts, consistent evidence, and well-supported conclusions make your work easier for them to rely on.

How we source, write, and correct our articles. Editorial standards

Related articles

Straight to your inbox.
New pieces as they publish. No noise.