When insider trading is done illegally, through the possession of material nonpublic information, the punishment can be civil or criminal, constituting fines and/or prison time.