Why did my PCR test turn out negative if I was vaccinated 18 days ago?

I was vaccinated 18 days ago with Astrazeneca, so I am a little bit immune by now. I still need a second jab, that will be given in about ten weeks time. But I have to travel abroad tomorrow, so I had to do a PCR test today: those are the rules in Europe. The test result was negative. Now I am wondering how this is possible. Astrazeneca is an inactivated virus vaccine (I hope I got this right), so it contains parts of dead viruses. Those virus particles (the spikes?) stimulate my immune system to prepare for the real viruses. When undergoing the test nobody asked if I was vaccinated. So I wonder how does the vaccine work to confer immunity without giving a positive result.
Please do not misunderstand me: I am very happy to have been given a jab and a negative result. I just wonder how this is possible. Maybe I have understood the workings of the vaccine or how the test operates wrong?

From here:

The AstraZeneca vaccine also only contains part of the DNA but is inserted in an adenovirus carrier that cannot replicate so cannot give you infection or a positive PCR test.

So a PCR will be negative but an antibody test could be positive? OK, though I had understood that PCR-test were extremely sensitive: they replicate minuscule bits of DNA or RNA until they are detectable. But I am glad to read that vaccines do not invalidate tests. I firmly believe tests are an important element in the fight against Covid-19.

The sensitivity of the of the test isn’t the issue.

Antibodies are produced as a response to infection or vaccination. So, vaccination will appear like you’ve had the illness.

PCR test detects the presence of active virus, which vaccination does not cause.

Do you know how PCR distinguishes between active and inactive viruses? Both are RNA strands, what is the difference?

Generally you need active virus to get the amount of virus high enough to a level that is detectable. But you are correct that the nuclei acid detected is not only from actively replicating viruses.

The larger point is that PCR test detects the infection itself while the antibody test detects the body’s response to being exposed to the antigen, either by infection or vaccination.

So the cheaper antibody tests will become useless as more people get vaccinated and PCR test will not.
OTOH all tests will be superfluous when enough people get immune through vaccination, but this still complicates the matter. Hmmm…

The antibody tests already had limited utility since antibody level naturally declines in months after vaccination or illness.

Antigen tests, which most rapid tests were, will still be useful to detect infection. Vaccinations shouldn’t interfere with those.

Could you explain what the difference between antigen and antibody tests is?

Replication of specific fragments of DNA/RNA. Then the solution is tested for the presence of fragments of the specific length of the specific fragments.

Even if you had the vaccine misted onto a swab, it still wouldn’t show up on a PCR test unless the ‘primer’ used for the PCR test matched the DNA fragment used for the vaccine.

That sounds logical. I knew this was the right place to ask, thank you all very much!

Sure.

Antigens are portions of the virus the body recognizes as a foreign invader. When the body sees the antigen it mounts an immune system response to destroy the invader and to learn, so it responds even faster and stronger the next time.

When the virus is actively infecting there are lots of antigens present (since they are parts of the virus itself). Antigen tests look directly for those virus parts and react to them directly. You need to have a lot of virus. The antigen signal is amplified and made visible using a dye that results in a color changes a lot like a rapid strep test or even a pregnancy stick test.

PCR tests also detect virus directly, by recognizing the RNA in the virus. The test amplifies the RNA through the process called PCR, so that it is detectable. This is a much more sensitive test (less starting virus needed) and highly specific (possibility the antigen test could cross react with antigens from harmless sources).

Antibodies are the body’s response to an infection when it’s fighting it off. So, it’s only present in high enough levels while actively fighting an infection off (or post vaccination ), and a little after after the infection has cleared. But then the body makes memory cells, to produce antibodies at high levels, rapidly, should another exposure to the virus occur.

Beware: when reading reports on the WWW, I have sometimes seen antigen and antibody tests confused. Antibody tests, as described above, test for antibodies, and they do so by using antigens. Antigens are the things antibodies search for and destroy: one way to detect antibodies is to put an antigen (or a set of antigens) on a test card, or in a test solution, and see if anything binds to the card/solution.

Excellent point. And I’ve heard medical professionals mistake antigen and antibody, by a slip of the tongue. You have to be very careful!

Antibody tests use specific antigens which test for specific antibodies, which are reactive to specific sites on the virus. They are quite narrow. The mRNA vaccines are very narrow: they excite only a very narrow range of antibodies. The virus itself can, and probably does, lead to the generation of different antibodies.

Thus, different antibody tests can show the difference between vaccine-induced immunity and disease induced immunity. It is possible to test in a pathology laboratory. If it becomes important, rapid tests will be characterized. A test which uses a large range of different antigens will always be slightly more expensive and slightly more difficult to interpret, but not necessarily significantly so. A test that only uses one antigen might be defeated by a simple COVID mutation.