Cerebral palsy is caused by damage or abnormal development in the parts of the brain that control movement. These events can happen before, during, or shortly after birth or in the first few years of life, when the brain is still developing. In many cases the exact cause of cerebral palsy is not known.