In trading, a principal is a firm that deals on its own behalf, using its own capital and taking the risk of the position, rather than acting for a client. When a dealer sells a bond to an investor out of its own inventory, it acts as principal: it is the investor's counterparty, earns the difference between the price it paid and the price it charges, and loses if the market moves against its holding.
The opposite capacity is agent, in which a broker executes an order for the client with a third party and is paid a commission without taking the trade onto its own books. Many broker-dealers act in both capacities and must tell clients which applies. Under MiFID II, dealing on own account is a separate investment service. A market maker and a proprietary trading desk act as principals, as do firms using riskless or matched principal trading, which take both sides of a client trade at once.