Investors & landlords

Just consult IRS Pub 590B for IRAs.

It's all explained clearly on the first page Chapter 1.