Hi and welcome to our site!When the property is purchased - generally - that is not a taxable transaction. However - you establish the basis - that is your purchase price and purchase expenses. When the property is sold - that basis will be used to calculate your taxable gain.Your gain (or loss) would be equal to (selling price) MINUS (adjusted basis).
Now - if that property will be used as rental - you will receive a rental income and will deduct your rental expenses. You generally cannot deduct in one year the entire cost of property you purchased, instead, you can depreciate it. hat is, you can recover the cost over a number of years by deducting a part of the cost each year. A residential rental property is depreciated over 27.5 years.