While investors do not require a Demat account to apply for an IPO, they must require both a Demat account and a trading account to execute transactions. To get the most out of stock market investing, investors should ideally have a Demat account and trading account before purchasing any shares during an initial public offering (IPO).