What Is a Nucleic Acid Test and How Does It Work?

A nucleic acid test (NAT), also called a nucleic acid amplification test (NAAT), is a diagnostic test that detects the genetic material of a virus or bacterium in a sample from your body. Unlike tests that look for your immune system’s response to an infection, a nucleic acid test looks for the pathogen itself by finding and copying tiny fragments of its DNA or RNA. This makes it one of the most sensitive diagnostic tools available, capable of detecting an infection days or even weeks before other test types.

How Nucleic Acid Tests Work

The core idea behind a nucleic acid test is amplification. If even a tiny amount of a pathogen’s genetic material is present in your sample, the test makes millions of copies of that specific genetic sequence until there’s enough to measure. Think of it like photocopying a single page of a book millions of times so it becomes impossible to miss.

This amplification step is what gives nucleic acid tests their edge. Because the test multiplies whatever genetic material it finds, it can pick up infections when viral or bacterial levels in your body are still extremely low. Modern HIV nucleic acid tests, for example, can detect as few as 20 copies of the virus per milliliter of blood.

What Infections They Detect

Nucleic acid tests are a standard diagnostic tool for a wide range of infections. The FDA has cleared or approved nucleic acid-based tests for HIV, hepatitis B, hepatitis C, SARS-CoV-2 (COVID-19), chlamydia, gonorrhea, influenza, and RSV, among others. Many newer combination tests can screen for multiple pathogens at once, such as panels that check for COVID-19, flu, and RSV from a single sample.

Beyond diagnosing active infections, nucleic acid tests also play a critical role in blood supply safety. The FDA requires blood donation centers to screen every unit of donated blood using nucleic acid testing for hepatitis B and other infectious agents. For whole blood intended for transfusion, the recommended test must be sensitive enough to detect fewer than 100 international units per milliliter of hepatitis B virus DNA in an individual donation.

Different Amplification Methods

Not all nucleic acid tests use the same technology to copy genetic material. The most well-known method is PCR (polymerase chain reaction), which repeatedly heats and cools a sample to trigger cycles of DNA copying. PCR became a household term during the COVID-19 pandemic and remains the most widely used approach.

Other methods include transcription-mediated amplification (TMA), which targets RNA and runs at a constant temperature in a single tube, and strand displacement amplification (SDA), which uses enzymes to unwind and copy DNA strands without the heating cycles PCR requires. These alternatives were developed in part to reduce certain technical problems. TMA, for instance, includes a step that uses magnetic particles to physically separate the target genetic material from substances in the sample that might interfere with the test, reducing false negatives.

From your perspective as a patient, the method used behind the scenes rarely matters. Your doctor or clinic chooses the platform based on what’s available and what pathogen they’re testing for. The sample you provide is the same regardless of method.

How Samples Are Collected

The type of sample depends on the infection being tested. For respiratory viruses like COVID-19 and flu, throat swabs and nasopharyngeal swabs (the long swab inserted deep into the nose) are the most common because they’re relatively easy to collect. However, not all sample types perform equally. In one study of over 1,000 specimens from COVID-19 patients, fluid collected from deep in the lungs tested positive 93% of the time, sputum from a deep cough was positive 72% of the time, and nasal swabs detected the virus only 46% of the time.

For sexually transmitted infections like chlamydia and gonorrhea, urine samples are standard. HIV and hepatitis testing typically requires a blood draw. Stool samples can also be tested, though for respiratory infections they tend to have lower detection rates.

How NATs Compare to Rapid Tests

The main tradeoff between nucleic acid tests and rapid antigen or antibody tests is sensitivity versus speed. Rapid tests give you a result in minutes but are far more likely to miss infections, especially early ones. In studies of HIV testing among high-risk populations in Seattle, the rapid antibody test detected only 80% of people with acute or established HIV infection, missing one in five infected individuals. Nucleic acid testing closes that gap substantially.

For HIV specifically, a nucleic acid test can detect infection as early as 10 to 33 days after exposure, according to the CDC. Antibody-based tests, by contrast, may not turn positive for several weeks longer because your immune system needs time to produce detectable antibodies. This difference in the “window period” means a nucleic acid test can catch an infection when a person is most contagious but doesn’t yet know they’re infected.

How Long Results Take

Nucleic acid tests are not instant. The amplification process and laboratory handling take time, and your results depend heavily on whether the test is processed on-site or sent to an outside lab. In hospitals with their own testing equipment, 83% of samples return results within 24 hours, and some rapid molecular platforms can produce a result in under 90 minutes. When samples must be shipped to a reference laboratory, turnaround times stretch considerably: nearly half take longer than 48 hours, and some exceed 72 hours.

Point-of-care nucleic acid tests have narrowed this gap in recent years, particularly for COVID-19 and flu. These compact systems run the amplification process in a small cartridge right in the clinic, often delivering results while you wait. But for less common infections or specialized viral load measurements, a send-out lab test is still typical, and you should expect to wait one to three days for results.

When a Nucleic Acid Test Is the Right Choice

Nucleic acid testing is most valuable in three situations: early detection of infection before antibodies develop, confirming a diagnosis when a rapid test result is uncertain, and monitoring how much virus is in your body over time (viral load testing). HIV treatment monitoring, for instance, relies on regular nucleic acid tests to confirm that the virus remains suppressed below 20 copies per milliliter, the threshold that defines an undetectable viral load with current assays.

If you’ve had a known exposure to HIV, hepatitis, or another infection and need the earliest possible answer, a nucleic acid test will give you a reliable result sooner than an antibody test. If you’ve already tested positive and are on treatment, periodic nucleic acid testing tracks whether the treatment is working. And if you’re donating blood, nucleic acid screening happens automatically as part of the safety protocols that protect the blood supply.