Yes, in many cases, you can offset long-term capital gains with capital losses. Capital losses can help reduce or eliminate the tax liability on long-term gains. Unused losses can often be carried forward to future years.