It is not a communicable disease.
Yes it is inherited and acquired.
Idiopathic..wirhout any definitive cause, Head injury , abnormalities in cortex or sclerosis are responsible.
Next Steps
No need to fear that you will get the disease if you have a epilepsy friend.
Health Tips
EEG is mandatory . Usually Shows high and abnormal electrical activity of brain.