Am I allowed to publish my research when I have a patent?

Patent protection does not prevent publishing. It only requires that the publication be timed so that it doesn't appear in a journal or on the web until it is protected. Publishing an invention allows for its exposure to the scientific community and the public at an early stage, but does not prevent others from using the information for commercial purposes. Patenting an invention, on the other hand, increases the chances of cutting-edge research discoveries being pursued and developed for the benefit of society.