The buying or selling of a security by someone who has access to material, nonpublic information about the security.
Taobiz explains Insider Trading
Insider trading can be illegal or legal depending on when the insider makes the trade: it is illegal when the material information is still nonpublic--trading while having special knowledge is unfair to other investors who don't have access to such knowledge. Illegal insider trading therefore includes tipping others when you have any sort of nonpublic information. Directors are not the only ones who have the potential to be convicted of insider trading. People such as brokers and even family members can be guilty.
Insider trading is legal once the material information has been made public, at which time the insider has no direct advantage over other investors. The SEC, however, still requires all insiders to report all their transactions. So, as insiders have an insight into the workings of their company, it may be wise for an investor to look at these reports to see how insiders are legally trading their stock.