Myasthenia gravis is caused by an error in the transmission of nerve impulses to muscles. It occurs when normal communication between the nerve and muscle is interrupted at the neuromuscular junction—the place where nerve cells connect with the muscles they control.