If you are talking about federal income taxes, they are never deductible. If you paid state income taxes for 2014 when you filed your return in 2015, the additional taxes you paid with your return become deductible when you file your 2015 federal income tax return (assuming you itemize deductions).
Rules for determining whether a person is active in a business activity for passive activity rule purposes. Unless the tests are met, passive loss limits apply.