<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:8ee10226-5e5c-449a-b349-813ecc22ce71,g:98964830-dd0c-4d9b-bd8a-7816f387bb8e-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CoverPage" xlink:type="simple" xlink:href="rwt-20240930.xsd#CoverPage"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/CoverPage" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_dfa6735a-ba25-4db0-b3d6-13903dffe30a" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_DocumentInformationTable_dfa6735a-ba25-4db0-b3d6-13903dffe30a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_9b15eefa-b17b-4a62-b25b-070c0fe3588b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_dfa6735a-ba25-4db0-b3d6-13903dffe30a" xlink:to="loc_us-gaap_StatementClassOfStockAxis_9b15eefa-b17b-4a62-b25b-070c0fe3588b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_9b15eefa-b17b-4a62-b25b-070c0fe3588b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_9b15eefa-b17b-4a62-b25b-070c0fe3588b" xlink:to="loc_us-gaap_ClassOfStockDomain_9b15eefa-b17b-4a62-b25b-070c0fe3588b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_bd13dda5-5b27-4697-bf8e-9a42d26d0a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_9b15eefa-b17b-4a62-b25b-070c0fe3588b" xlink:to="loc_us-gaap_ClassOfStockDomain_bd13dda5-5b27-4697-bf8e-9a42d26d0a2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_833b6646-b441-40fb-9257-a8678c2018cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_bd13dda5-5b27-4697-bf8e-9a42d26d0a2b" xlink:to="loc_us-gaap_CommonStockMember_833b6646-b441-40fb-9257-a8678c2018cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockMember_72559864-b78b-49d8-84ef-c82a6369ce1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RedeemablePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_bd13dda5-5b27-4697-bf8e-9a42d26d0a2b" xlink:to="loc_us-gaap_RedeemablePreferredStockMember_72559864-b78b-49d8-84ef-c82a6369ce1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A9125SeniorNotesDue2029Member_ae5257e2-42b8-418b-9ae3-3b33b20c700b" xlink:href="rwt-20240930.xsd#rwt_A9125SeniorNotesDue2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_bd13dda5-5b27-4697-bf8e-9a42d26d0a2b" xlink:to="loc_rwt_A9125SeniorNotesDue2029Member_ae5257e2-42b8-418b-9ae3-3b33b20c700b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A9.000SeniorNotesDue2029Member_d0dc8e58-bf1c-4b44-8271-16c9b28466c1" xlink:href="rwt-20240930.xsd#rwt_A9.000SeniorNotesDue2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_bd13dda5-5b27-4697-bf8e-9a42d26d0a2b" xlink:to="loc_rwt_A9.000SeniorNotesDue2029Member_d0dc8e58-bf1c-4b44-8271-16c9b28466c1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_976a7c8a-d45a-4bec-81e2-370cd87e2719" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_DocumentType_976a7c8a-d45a-4bec-81e2-370cd87e2719" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentQuarterlyReport_f8de320e-1ddc-41c8-a1ac-6ce038631000" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentQuarterlyReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_DocumentQuarterlyReport_f8de320e-1ddc-41c8-a1ac-6ce038631000" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_21431693-edb2-4f1c-91bf-e90bd1c2844e" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_DocumentPeriodEndDate_21431693-edb2-4f1c-91bf-e90bd1c2844e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_c54690e1-56e8-4136-8109-8391a2248dc7" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_DocumentTransitionReport_c54690e1-56e8-4136-8109-8391a2248dc7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_1f8cc204-8166-457a-8728-848af658e985" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityFileNumber_1f8cc204-8166-457a-8728-848af658e985" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_0560ac39-da86-4894-b099-a76c9179e3fe" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityRegistrantName_0560ac39-da86-4894-b099-a76c9179e3fe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_3db42a28-01b7-436f-9f6f-4f07e70d49fa" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityIncorporationStateCountryCode_3db42a28-01b7-436f-9f6f-4f07e70d49fa" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_5599f581-7148-45a7-ba99-e072122ba2a9" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityTaxIdentificationNumber_5599f581-7148-45a7-ba99-e072122ba2a9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_368b3208-e2fb-46a7-91f4-400896ac797b" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityAddressAddressLine1_368b3208-e2fb-46a7-91f4-400896ac797b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine2_e7ab5acb-4a76-4b95-bd22-1220cfe50a74" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressAddressLine2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityAddressAddressLine2_e7ab5acb-4a76-4b95-bd22-1220cfe50a74" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_32db4367-3afc-4c6c-9ef5-ab0ad850f7d1" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityAddressCityOrTown_32db4367-3afc-4c6c-9ef5-ab0ad850f7d1" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_9a9c8dd9-af8e-4972-94b3-93c0a8483e12" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityAddressStateOrProvince_9a9c8dd9-af8e-4972-94b3-93c0a8483e12" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_582b7d75-381f-4bf1-b68f-9a2022773fa7" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityAddressPostalZipCode_582b7d75-381f-4bf1-b68f-9a2022773fa7" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_26aae337-270e-462c-a925-2e39483d994e" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_CityAreaCode_26aae337-270e-462c-a925-2e39483d994e" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_e48ab904-8c31-4f61-9404-9d89671e3177" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_LocalPhoneNumber_e48ab904-8c31-4f61-9404-9d89671e3177" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_8281ee72-6d3e-4d55-b8e1-a65a273cda8d" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityCurrentReportingStatus_8281ee72-6d3e-4d55-b8e1-a65a273cda8d" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_7183c795-d53e-45dc-9986-90b2a4073cda" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityInteractiveDataCurrent_7183c795-d53e-45dc-9986-90b2a4073cda" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_f18d5f03-5533-4b81-be47-6ff2f4c6c1ab" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityFilerCategory_f18d5f03-5533-4b81-be47-6ff2f4c6c1ab" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_bec675f6-03a5-487f-8aea-200ccff1166a" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntitySmallBusiness_bec675f6-03a5-487f-8aea-200ccff1166a" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_6385e482-0b27-46f6-afdd-349230b2a3e1" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityEmergingGrowthCompany_6385e482-0b27-46f6-afdd-349230b2a3e1" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_73baacaa-d3d7-423f-b360-4f5b534f25be" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityShellCompany_73baacaa-d3d7-423f-b360-4f5b534f25be" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_2675a426-2ebb-4008-9213-68a294213c4e" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_Security12bTitle_2675a426-2ebb-4008-9213-68a294213c4e" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_0dedfebb-f8b5-43a1-a5f3-139478b216bf" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_TradingSymbol_0dedfebb-f8b5-43a1-a5f3-139478b216bf" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_c2f8cfd0-8746-4908-8ec6-388c2520ba03" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_SecurityExchangeName_c2f8cfd0-8746-4908-8ec6-388c2520ba03" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_0b7d6f87-de32-49e2-9059-0fef03df1884" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_0b7d6f87-de32-49e2-9059-0fef03df1884" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_a94ffd01-c61c-4ae9-bf3e-f5c768c32a47" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_AmendmentFlag_a94ffd01-c61c-4ae9-bf3e-f5c768c32a47" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_9d2e8559-dc92-45fc-ae89-135e0736003d" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_DocumentFiscalYearFocus_9d2e8559-dc92-45fc-ae89-135e0736003d" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_7103b250-b0c7-4a93-8436-393fedd40bd4" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_DocumentFiscalPeriodFocus_7103b250-b0c7-4a93-8436-393fedd40bd4" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_96ef11b1-1f87-4ef0-a228-294e31042ee4" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_EntityCentralIndexKey_96ef11b1-1f87-4ef0-a228-294e31042ee4" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_6f536464-52c9-49a4-8f27-3aa6f92c4ae6" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_ca080e31-f472-450a-86de-3eef1526d45b" xlink:to="loc_dei_CurrentFiscalYearEndDate_6f536464-52c9-49a4-8f27-3aa6f92c4ae6" xlink:type="arc" order="29"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="rwt-20240930.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_dd712286-03a6-4ee0-a739-06745682c42f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_acc1957f-6af9-4d67-8844-8cababcf1fdd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_dd712286-03a6-4ee0-a739-06745682c42f" xlink:to="loc_us-gaap_StatementTable_acc1957f-6af9-4d67-8844-8cababcf1fdd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2542b8b0-3eaf-42e0-aab3-f2df533b5dd8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_acc1957f-6af9-4d67-8844-8cababcf1fdd" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2542b8b0-3eaf-42e0-aab3-f2df533b5dd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2542b8b0-3eaf-42e0-aab3-f2df533b5dd8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2542b8b0-3eaf-42e0-aab3-f2df533b5dd8" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2542b8b0-3eaf-42e0-aab3-f2df533b5dd8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b833c2b-4d50-47fd-8f00-eef2cf5a7669" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2542b8b0-3eaf-42e0-aab3-f2df533b5dd8" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b833c2b-4d50-47fd-8f00-eef2cf5a7669" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansHeldForSaleMember_5072aafe-5b43-4f9f-a78c-779829daffb0" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b833c2b-4d50-47fd-8f00-eef2cf5a7669" xlink:to="loc_rwt_ResidentialConsumerLoansHeldForSaleMember_5072aafe-5b43-4f9f-a78c-779829daffb0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueIncludingLoansAtHistoricalCostMember_0cc31e11-8712-4b85-b706-5e193e890679" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueIncludingLoansAtHistoricalCostMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b833c2b-4d50-47fd-8f00-eef2cf5a7669" xlink:to="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueIncludingLoansAtHistoricalCostMember_0cc31e11-8712-4b85-b706-5e193e890679" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansHeldForSaleMember_a9fc6bc6-b853-431b-8457-d279f7a4df83" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b833c2b-4d50-47fd-8f00-eef2cf5a7669" xlink:to="loc_rwt_ResidentialInvestorLoansHeldForSaleMember_a9fc6bc6-b853-431b-8457-d279f7a4df83" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansHeldForInvestmentMember_08777135-99e6-4102-8390-db32b8d49e40" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansHeldForInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b833c2b-4d50-47fd-8f00-eef2cf5a7669" xlink:to="loc_rwt_ResidentialInvestorLoansHeldForInvestmentMember_08777135-99e6-4102-8390-db32b8d49e40" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MultifamilyLoansMember_431fdf6a-d933-4985-8e98-5fce869fe93e" xlink:href="rwt-20240930.xsd#rwt_MultifamilyLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b833c2b-4d50-47fd-8f00-eef2cf5a7669" xlink:to="loc_rwt_MultifamilyLoansMember_431fdf6a-d933-4985-8e98-5fce869fe93e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_dd712286-03a6-4ee0-a739-06745682c42f" xlink:to="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_07a46c8e-b3da-455d-a82b-6206fb4244c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_NotesReceivableNet_07a46c8e-b3da-455d-a82b-6206fb4244c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities_4ac1f0e1-d323-4d1b-9037-035e2fe41666" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MarketableSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_MarketableSecurities_4ac1f0e1-d323-4d1b-9037-035e2fe41666" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestments_95d71ed8-4b40-4f4a-bf9d-cddc65af7035" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_rwt_HomeEquityInvestments_95d71ed8-4b40-4f4a-bf9d-cddc65af7035" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_ad9a13ff-7f98-479e-bf39-66b206c3bf64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_OtherInvestments_ad9a13ff-7f98-479e-bf39-66b206c3bf64" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9dac6a71-e70f-4739-8643-6f92a7ddc9a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_9dac6a71-e70f-4739-8643-6f92a7ddc9a8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_6251dd9a-85ce-437e-8642-67062c28beca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_RestrictedCash_6251dd9a-85ce-437e-8642-67062c28beca" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_eeba96c3-7cd0-4969-9a91-409ae5a47a50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_DerivativeAssets_eeba96c3-7cd0-4969-9a91-409ae5a47a50" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_7a7271e8-9ee4-4d20-9f6a-411803097241" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_OtherAssets_7a7271e8-9ee4-4d20-9f6a-411803097241" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c8879a72-edc7-49bb-bdd2-053c303b0be6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_68d253a6-0e4e-47a7-b789-d2170489e4c5" xlink:to="loc_us-gaap_Assets_c8879a72-edc7-49bb-bdd2-053c303b0be6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_423020c7-2580-4e8e-917b-640978d699a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_dd712286-03a6-4ee0-a739-06745682c42f" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_423020c7-2580-4e8e-917b-640978d699a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_fa15033f-e8f0-4a06-afbf-96f48fe753e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_423020c7-2580-4e8e-917b-640978d699a4" xlink:to="loc_us-gaap_LiabilitiesAbstract_fa15033f-e8f0-4a06-afbf-96f48fe753e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_b99ea94b-1dac-49b6-bc60-6f2d5309bd07" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fa15033f-e8f0-4a06-afbf-96f48fe753e6" xlink:to="loc_us-gaap_SecuredDebt_b99ea94b-1dac-49b6-bc60-6f2d5309bd07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_bb060c7b-7da3-49f7-a6cf-0593711d7ba8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fa15033f-e8f0-4a06-afbf-96f48fe753e6" xlink:to="loc_us-gaap_OtherLongTermDebt_bb060c7b-7da3-49f7-a6cf-0593711d7ba8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_4c25b02b-ce46-43c4-945b-1f6c051cd00c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fa15033f-e8f0-4a06-afbf-96f48fe753e6" xlink:to="loc_us-gaap_DerivativeLiabilities_4c25b02b-ce46-43c4-945b-1f6c051cd00c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_ca899c94-5e4b-44c5-822f-626e995d848e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fa15033f-e8f0-4a06-afbf-96f48fe753e6" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_ca899c94-5e4b-44c5-822f-626e995d848e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_d692f55d-86ea-4d53-95a5-312539637f66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fa15033f-e8f0-4a06-afbf-96f48fe753e6" xlink:to="loc_us-gaap_Liabilities_d692f55d-86ea-4d53-95a5-312539637f66" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_08e00be9-5923-4339-9a03-8c4fd7e8d73b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_423020c7-2580-4e8e-917b-640978d699a4" xlink:to="loc_us-gaap_CommitmentsAndContingencies_08e00be9-5923-4339-9a03-8c4fd7e8d73b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_423020c7-2580-4e8e-917b-640978d699a4" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_e50e0ffa-c969-45a7-8723-7da937b5ed3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:to="loc_us-gaap_PreferredStockValue_e50e0ffa-c969-45a7-8723-7da937b5ed3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_eba1ec26-5167-45d8-9c50-a70886252167" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:to="loc_us-gaap_CommonStockValue_eba1ec26-5167-45d8-9c50-a70886252167" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_de621259-eb16-4408-bfe9-17fdae281040" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_de621259-eb16-4408-bfe9-17fdae281040" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a29225e3-d442-4107-9c81-c6cabe28a647" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_a29225e3-d442-4107-9c81-c6cabe28a647" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_702f1537-63f1-422d-b8dd-e2b4c23bab6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_702f1537-63f1-422d-b8dd-e2b4c23bab6e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeDividends_5e6d11c0-9670-4a7b-a29d-4edb793e1b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CumulativeDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:to="loc_us-gaap_CumulativeDividends_5e6d11c0-9670-4a7b-a29d-4edb793e1b5c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a75a4c4c-7438-4561-b44b-8aca354615a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_ff0643fa-12df-4b26-9ba5-384b08416ad4" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_a75a4c4c-7438-4561-b44b-8aca354615a5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_53a31957-1274-4958-b227-845b6a67303c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_423020c7-2580-4e8e-917b-640978d699a4" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_53a31957-1274-4958-b227-845b6a67303c" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="rwt-20240930.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_3661c49b-6206-4718-8af3-474d0830ebd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_StatementTable_3661c49b-6206-4718-8af3-474d0830ebd2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_493bd784-9a40-4d44-a6f5-6f8b31a1c565" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3661c49b-6206-4718-8af3-474d0830ebd2" xlink:to="loc_srt_ConsolidatedEntitiesAxis_493bd784-9a40-4d44-a6f5-6f8b31a1c565" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_493bd784-9a40-4d44-a6f5-6f8b31a1c565_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_493bd784-9a40-4d44-a6f5-6f8b31a1c565" xlink:to="loc_srt_ConsolidatedEntitiesDomain_493bd784-9a40-4d44-a6f5-6f8b31a1c565_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_2b350c5a-d6c9-4e71-be49-7790ea6ffb21" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_493bd784-9a40-4d44-a6f5-6f8b31a1c565" xlink:to="loc_srt_ConsolidatedEntitiesDomain_2b350c5a-d6c9-4e71-be49-7790ea6ffb21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_2099bc6b-6be1-447f-b332-bbd51a8da7e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_2b350c5a-d6c9-4e71-be49-7790ea6ffb21" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_2099bc6b-6be1-447f-b332-bbd51a8da7e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_ba0d433e-48ae-4d03-903c-99e1989e89bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_DebtInstrumentFairValue_ba0d433e-48ae-4d03-903c-99e1989e89bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_f45474e8-f3ab-4760-96de-e30691a4528e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_f45474e8-f3ab-4760-96de-e30691a4528e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_75f25734-0df9-4a18-abb7-36ee5252c33c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_75f25734-0df9-4a18-abb7-36ee5252c33c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_a7734a5c-c382-4813-9d52-a45efbd5a4cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_PreferredStockSharesIssued_a7734a5c-c382-4813-9d52-a45efbd5a4cd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_d9291046-a893-4a9a-859a-ff989c7a1a6a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_d9291046-a893-4a9a-859a-ff989c7a1a6a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_9f51eb5f-c92f-4f0b-aaff-1d04ee340d0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_9f51eb5f-c92f-4f0b-aaff-1d04ee340d0a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_133cd9f8-e0e5-493f-8a16-01dee215f3db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_133cd9f8-e0e5-493f-8a16-01dee215f3db" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_96ae88e4-9009-4771-91ee-2368fe237093" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_CommonStockSharesIssued_96ae88e4-9009-4771-91ee-2368fe237093" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_8fd5c10c-702e-442b-8862-5116f03523e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_8fd5c10c-702e-442b-8862-5116f03523e0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_fec603e8-cdad-4e85-820c-1a61070de799" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_Assets_fec603e8-cdad-4e85-820c-1a61070de799" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_34f9542f-2ad4-4704-8477-7049dfc419b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74b52891-227a-4d39-8c9f-59cf72bfbc39" xlink:to="loc_us-gaap_Liabilities_34f9542f-2ad4-4704-8477-7049dfc419b3" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="rwt-20240930.xsd#CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_0671c88f-343c-4924-b67e-7142598f27d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_48a6b00d-3ec6-495f-a085-cd0bc76a1025" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_0671c88f-343c-4924-b67e-7142598f27d1" xlink:to="loc_us-gaap_StatementTable_48a6b00d-3ec6-495f-a085-cd0bc76a1025" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_77f0c69d-4a27-44ed-a1fd-294606bb49b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_48a6b00d-3ec6-495f-a085-cd0bc76a1025" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_77f0c69d-4a27-44ed-a1fd-294606bb49b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_77f0c69d-4a27-44ed-a1fd-294606bb49b3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_77f0c69d-4a27-44ed-a1fd-294606bb49b3" xlink:to="loc_us-gaap_EquityComponentDomain_77f0c69d-4a27-44ed-a1fd-294606bb49b3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_77f0c69d-4a27-44ed-a1fd-294606bb49b3" xlink:to="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_fa82a0e1-7ffb-49ce-b382-2c6378206bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:to="loc_us-gaap_PreferredStockMember_fa82a0e1-7ffb-49ce-b382-2c6378206bfa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_89f04a22-eafa-496f-85bc-644a4cd18768" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:to="loc_us-gaap_CommonStockMember_89f04a22-eafa-496f-85bc-644a4cd18768" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_017123b0-df9d-4aaf-9fc9-23b0248f48ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_017123b0-df9d-4aaf-9fc9-23b0248f48ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_af63e61f-41cd-4ecc-bf76-ccf77604ae6a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_af63e61f-41cd-4ecc-bf76-ccf77604ae6a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_aa1a8581-88f0-4dc2-b790-3136c530b06c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:to="loc_us-gaap_RetainedEarningsMember_aa1a8581-88f0-4dc2-b790-3136c530b06c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember_f30df1d5-709a-45cf-b7c6-db0b84802ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4ceb0c6c-c8b5-4de2-8393-cacd4961dc50" xlink:to="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember_f30df1d5-709a-45cf-b7c6-db0b84802ed1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0671c88f-343c-4924-b67e-7142598f27d1" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e424d6b7-0e09-4599-9155-53a9ef40020a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_StockholdersEquity_e424d6b7-0e09-4599-9155-53a9ef40020a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_4dd4e829-116e-4b8b-84a9-7429a19bafde" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_SharesIssued_4dd4e829-116e-4b8b-84a9-7429a19bafde" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_96ee2d07-1aaf-4867-8e75-30fbdbff4247" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_NetIncomeLoss_96ee2d07-1aaf-4867-8e75-30fbdbff4247" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_0df0d38e-d277-4b59-9a49-b3c4849ae6e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_0df0d38e-d277-4b59-9a49-b3c4849ae6e5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_f4f9b402-1548-4bfc-a26b-7c22b2749665" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_f4f9b402-1548-4bfc-a26b-7c22b2749665" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_81fc6223-5544-4626-916f-0399098f0fd0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_81fc6223-5544-4626-916f-0399098f0fd0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansAndOtherIncentivePlans_64ffef23-e8be-4842-bad7-428313db3b45" xlink:href="rwt-20240930.xsd#rwt_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansAndOtherIncentivePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_rwt_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlansAndOtherIncentivePlans_64ffef23-e8be-4842-bad7-428313db3b45" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StockIssuedDuringPeriodValueEmployeeStockPurchasePlansAndOtherIncentivePlans_91187f8b-817f-4444-b84e-415ff8770db2" xlink:href="rwt-20240930.xsd#rwt_StockIssuedDuringPeriodValueEmployeeStockPurchasePlansAndOtherIncentivePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_rwt_StockIssuedDuringPeriodValueEmployeeStockPurchasePlansAndOtherIncentivePlans_91187f8b-817f-4444-b84e-415ff8770db2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_07b2562b-781e-4b2c-8e7a-6576b6b91bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_07b2562b-781e-4b2c-8e7a-6576b6b91bb1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants_f9e54af8-e5a2-444e-b176-785a3ea348d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_StockAndWarrantsIssuedDuringPeriodValuePreferredStockAndWarrants_f9e54af8-e5a2-444e-b176-785a3ea348d7" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStock_b3941e4a-7f29-47e5-885a-575aa6bb952c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsPreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_DividendsPreferredStock_b3941e4a-7f29-47e5-885a-575aa6bb952c" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStock_ff9b6bb2-7e6b-45fa-967a-72d9e9cd5dc7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e5f148a5-d48c-41a6-aa1b-efb95d349839" xlink:to="loc_us-gaap_DividendsCommonStock_ff9b6bb2-7e6b-45fa-967a-72d9e9cd5dc7" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_0f5de57c-fd5d-4b20-80b8-431c47ba39f8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_51aaf955-5548-4e60-8c1e-d632030de0dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsPerShareDeclared_33bf3d40-1d20-450b-8ac3-4d01d9e4c1d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0671c88f-343c-4924-b67e-7142598f27d1" xlink:to="loc_us-gaap_PreferredStockDividendsPerShareDeclared_33bf3d40-1d20-450b-8ac3-4d01d9e4c1d3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/BasisofPresentationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#BasisofPresentationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/BasisofPresentationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_13c7c207-1c1e-44cb-ac76-20d2338ef2e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b4a1a178-4428-46d7-9a9f-04c8716963eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_13c7c207-1c1e-44cb-ac76-20d2338ef2e9" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b4a1a178-4428-46d7-9a9f-04c8716963eb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_5c1058d3-174b-408c-b376-b84e13b92456" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_b4a1a178-4428-46d7-9a9f-04c8716963eb" xlink:to="loc_srt_ConsolidatedEntitiesAxis_5c1058d3-174b-408c-b376-b84e13b92456" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_5c1058d3-174b-408c-b376-b84e13b92456_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_5c1058d3-174b-408c-b376-b84e13b92456" xlink:to="loc_srt_ConsolidatedEntitiesDomain_5c1058d3-174b-408c-b376-b84e13b92456_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_a0026d02-24fb-4a8b-887a-eb8604047fd9" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_5c1058d3-174b-408c-b376-b84e13b92456" xlink:to="loc_srt_ConsolidatedEntitiesDomain_a0026d02-24fb-4a8b-887a-eb8604047fd9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_ffe0ccb9-eb2e-429d-8c51-3842949a7ae4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_a0026d02-24fb-4a8b-887a-eb8604047fd9" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_ffe0ccb9-eb2e-429d-8c51-3842949a7ae4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfPartnershipsConsolidated_9d43c188-1ec1-4746-ab9d-09610aa864e8" xlink:href="rwt-20240930.xsd#rwt_NumberOfPartnershipsConsolidated"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_13c7c207-1c1e-44cb-ac76-20d2338ef2e9" xlink:to="loc_rwt_NumberOfPartnershipsConsolidated_9d43c188-1ec1-4746-ab9d-09610aa864e8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityOwnershipPercentage_8b9b8c2a-3215-40a8-927e-9ab7b4869819" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_13c7c207-1c1e-44cb-ac76-20d2338ef2e9" xlink:to="loc_us-gaap_VariableInterestEntityOwnershipPercentage_8b9b8c2a-3215-40a8-927e-9ab7b4869819" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/SegmentInformationScheduleofBusinessSegmentFinancialInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#SegmentInformationScheduleofBusinessSegmentFinancialInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/SegmentInformationScheduleofBusinessSegmentFinancialInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_11059ef5-d3eb-4406-b7b5-29ecef5c807a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_11059ef5-d3eb-4406-b7b5-29ecef5c807a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_db3490b0-4f04-4769-b4f2-12a931539488" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_11059ef5-d3eb-4406-b7b5-29ecef5c807a" xlink:to="loc_srt_ConsolidationItemsAxis_db3490b0-4f04-4769-b4f2-12a931539488" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_db3490b0-4f04-4769-b4f2-12a931539488_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_db3490b0-4f04-4769-b4f2-12a931539488" xlink:to="loc_srt_ConsolidationItemsDomain_db3490b0-4f04-4769-b4f2-12a931539488_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_fc7b418a-1a2c-4921-9ad4-ab9bac31a23a" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_db3490b0-4f04-4769-b4f2-12a931539488" xlink:to="loc_srt_ConsolidationItemsDomain_fc7b418a-1a2c-4921-9ad4-ab9bac31a23a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_7a00f501-c8c2-40c6-9ef5-874aff9df2c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_fc7b418a-1a2c-4921-9ad4-ab9bac31a23a" xlink:to="loc_us-gaap_OperatingSegmentsMember_7a00f501-c8c2-40c6-9ef5-874aff9df2c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_e7a4d5c4-9f36-4efb-882c-5a83ff4d654d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_fc7b418a-1a2c-4921-9ad4-ab9bac31a23a" xlink:to="loc_us-gaap_CorporateNonSegmentMember_e7a4d5c4-9f36-4efb-882c-5a83ff4d654d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_1333ecdd-21b0-41de-b177-653c33bf8199" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_11059ef5-d3eb-4406-b7b5-29ecef5c807a" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_1333ecdd-21b0-41de-b177-653c33bf8199" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_1333ecdd-21b0-41de-b177-653c33bf8199_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1333ecdd-21b0-41de-b177-653c33bf8199" xlink:to="loc_us-gaap_SegmentDomain_1333ecdd-21b0-41de-b177-653c33bf8199_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_1b58ef2d-6024-4c63-8446-67a5b90d851b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1333ecdd-21b0-41de-b177-653c33bf8199" xlink:to="loc_us-gaap_SegmentDomain_1b58ef2d-6024-4c63-8446-67a5b90d851b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialLendingMember_c92b00a3-77e6-4163-9edb-0e6c77eff420" xlink:href="rwt-20240930.xsd#rwt_ResidentialLendingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1b58ef2d-6024-4c63-8446-67a5b90d851b" xlink:to="loc_rwt_ResidentialLendingMember_c92b00a3-77e6-4163-9edb-0e6c77eff420" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLendingMember_3b438955-15e5-40ce-96c5-06be625330ff" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLendingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1b58ef2d-6024-4c63-8446-67a5b90d851b" xlink:to="loc_rwt_ResidentialInvestorLendingMember_3b438955-15e5-40ce-96c5-06be625330ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ThirdPartyResidentialInvestmentsMember_5f800cfb-e9b2-4fcc-b5f9-0b59b7905e2e" xlink:href="rwt-20240930.xsd#rwt_ThirdPartyResidentialInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1b58ef2d-6024-4c63-8446-67a5b90d851b" xlink:to="loc_rwt_ThirdPartyResidentialInvestmentsMember_5f800cfb-e9b2-4fcc-b5f9-0b59b7905e2e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_f1a92933-ac6d-4183-9fc4-c17a2c79fa88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_f1a92933-ac6d-4183-9fc4-c17a2c79fa88" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_4011d808-d7d1-4e8c-9906-413030beb4db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_InterestExpenseOperating_4011d808-d7d1-4e8c-9906-413030beb4db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_a47e4f71-9aee-4857-ad2c-10e51403fac7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_a47e4f71-9aee-4857-ad2c-10e51403fac7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoninterestIncomeAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageBankingActivitiesNet_770824fd-e682-4eea-adbe-61debdad3ef1" xlink:href="rwt-20240930.xsd#rwt_MortgageBankingActivitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:to="loc_rwt_MortgageBankingActivitiesNet_770824fd-e682-4eea-adbe-61debdad3ef1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_aa5e3230-2924-47c5-896e-e0a71b3ee8ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_aa5e3230-2924-47c5-896e-e0a71b3ee8ba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HEIFairValueChangesNet_490f028d-92c2-4e1d-ac23-14b2073e28f0" xlink:href="rwt-20240930.xsd#rwt_HEIFairValueChangesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:to="loc_rwt_HEIFairValueChangesNet_490f028d-92c2-4e1d-ac23-14b2073e28f0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseNet_d39113eb-5d1d-42e3-8984-fbd96db356bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherOperatingIncomeExpenseNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseNet_d39113eb-5d1d-42e3-8984-fbd96db356bf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_bc4aefd8-0216-45dd-8d4d-4208f101e7d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_bc4aefd8-0216-45dd-8d4d-4208f101e7d5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NoninterestIncomeNet_92286802-345e-4101-840f-a49b8e73859a" xlink:href="rwt-20240930.xsd#rwt_NoninterestIncomeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoninterestIncomeAbstract_eba69bd8-a0de-4412-ba2b-f356807e366a" xlink:to="loc_rwt_NoninterestIncomeNet_92286802-345e-4101-840f-a49b8e73859a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_d3c06004-dc4a-4edd-a325-1f9c8c2fbe12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_d3c06004-dc4a-4edd-a325-1f9c8c2fbe12" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PortfolioManagementCosts_d5237262-25f9-4843-8549-bae29c35f52f" xlink:href="rwt-20240930.xsd#rwt_PortfolioManagementCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_rwt_PortfolioManagementCosts_d5237262-25f9-4843-8549-bae29c35f52f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanAcquisitionCosts_e5d43fde-4f21-4843-9753-20413e6acad1" xlink:href="rwt-20240930.xsd#rwt_LoanAcquisitionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_rwt_LoanAcquisitionCosts_e5d43fde-4f21-4843-9753-20413e6acad1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherExpenses_6e6b0af2-b5a9-48cb-a49e-58589425dcf1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_OtherExpenses_6e6b0af2-b5a9-48cb-a49e-58589425dcf1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f1854aec-ff1f-43a0-a543-464fa7f53a3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f1854aec-ff1f-43a0-a543-464fa7f53a3a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_22d16534-47da-4e69-b1e6-183e16e67aa8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_NetIncomeLoss_22d16534-47da-4e69-b1e6-183e16e67aa8" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentForAmortization_e609351a-0a8c-40e6-8bc2-78397a061dc9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentForAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_AdjustmentForAmortization_e609351a-0a8c-40e6-8bc2-78397a061dc9" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_fdfbcd98-6f00-4bde-924c-1a49d4791774" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_184cf63b-d013-4116-b469-9dd22a9b6c58" xlink:to="loc_us-gaap_Assets_fdfbcd98-6f00-4bde-924c-1a49d4791774" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/MortgageBankingActivitiesNetDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#MortgageBankingActivitiesNetDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/MortgageBankingActivitiesNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_e30d9aaa-ae14-4a8d-a367-ebc9c01a5279" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_b3e7d20a-db86-4159-828d-8d1d67724bde" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_e30d9aaa-ae14-4a8d-a367-ebc9c01a5279" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_b3e7d20a-db86-4159-828d-8d1d67724bde" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_513c0ae8-68c6-4f39-a9af-9c8e5fee0fb3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_b3e7d20a-db86-4159-828d-8d1d67724bde" xlink:to="loc_us-gaap_InvestmentTypeAxis_513c0ae8-68c6-4f39-a9af-9c8e5fee0fb3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_513c0ae8-68c6-4f39-a9af-9c8e5fee0fb3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_513c0ae8-68c6-4f39-a9af-9c8e5fee0fb3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_513c0ae8-68c6-4f39-a9af-9c8e5fee0fb3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_06e582fc-83dd-4977-833e-682eeef8e3b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_513c0ae8-68c6-4f39-a9af-9c8e5fee0fb3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_06e582fc-83dd-4977-833e-682eeef8e3b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerMortgageBankingActivitiesMember_21cb76b3-0501-4b49-83e0-0285c5f9cb75" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerMortgageBankingActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_06e582fc-83dd-4977-833e-682eeef8e3b8" xlink:to="loc_rwt_ResidentialConsumerMortgageBankingActivitiesMember_21cb76b3-0501-4b49-83e0-0285c5f9cb75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorMortgageBankingActivitiesMember_a00927d2-35fb-4943-a4d6-8fd39480f326" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorMortgageBankingActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_06e582fc-83dd-4977-833e-682eeef8e3b8" xlink:to="loc_rwt_ResidentialInvestorMortgageBankingActivitiesMember_a00927d2-35fb-4943-a4d6-8fd39480f326" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_a563fc32-a1da-4de2-aa32-3b975c895807" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_b3e7d20a-db86-4159-828d-8d1d67724bde" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_a563fc32-a1da-4de2-aa32-3b975c895807" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_a563fc32-a1da-4de2-aa32-3b975c895807_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_a563fc32-a1da-4de2-aa32-3b975c895807" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_a563fc32-a1da-4de2-aa32-3b975c895807_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_f4a717fb-22e3-4de1-ace0-2d8ec0942a68" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_a563fc32-a1da-4de2-aa32-3b975c895807" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_f4a717fb-22e3-4de1-ace0-2d8ec0942a68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansAtFairValueMember_17d748b4-b719-401a-b645-132e9e0049d2" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_f4a717fb-22e3-4de1-ace0-2d8ec0942a68" xlink:to="loc_rwt_ResidentialConsumerLoansAtFairValueMember_17d748b4-b719-401a-b645-132e9e0049d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TradingSecuritiesMember_70b8bfec-d21e-457d-ace8-7db7ad277943" xlink:href="rwt-20240930.xsd#rwt_TradingSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_f4a717fb-22e3-4de1-ace0-2d8ec0942a68" xlink:to="loc_rwt_TradingSecuritiesMember_70b8bfec-d21e-457d-ace8-7db7ad277943" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SingleFamilyRentalLoansHeldForSaleAtFairValueMember_4b049f4d-507d-44b7-ad80-04b6dbe6a0f4" xlink:href="rwt-20240930.xsd#rwt_SingleFamilyRentalLoansHeldForSaleAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_f4a717fb-22e3-4de1-ace0-2d8ec0942a68" xlink:to="loc_rwt_SingleFamilyRentalLoansHeldForSaleAtFairValueMember_4b049f4d-507d-44b7-ad80-04b6dbe6a0f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorBridgeLoansMember_40a9f27d-8b4e-4576-9b71-d5962710aeb6" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorBridgeLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_f4a717fb-22e3-4de1-ace0-2d8ec0942a68" xlink:to="loc_rwt_ResidentialInvestorBridgeLoansMember_40a9f27d-8b4e-4576-9b71-d5962710aeb6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PriceRiskDerivativeMember_baf4ef3a-e877-46dd-8504-095a4ae8653c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PriceRiskDerivativeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_f4a717fb-22e3-4de1-ace0-2d8ec0942a68" xlink:to="loc_us-gaap_PriceRiskDerivativeMember_baf4ef3a-e877-46dd-8504-095a4ae8653c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets_e57362a8-689e-4ce2-a78a-a79f05dfe623" xlink:href="rwt-20240930.xsd#rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_e30d9aaa-ae14-4a8d-a367-ebc9c01a5279" xlink:to="loc_rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets_e57362a8-689e-4ce2-a78a-a79f05dfe623" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFairValueOfPriceRiskFairValueHedgingInstruments1_01a50c0c-5b97-4792-bec5-d7bea46196a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInFairValueOfPriceRiskFairValueHedgingInstruments1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_e30d9aaa-ae14-4a8d-a367-ebc9c01a5279" xlink:to="loc_us-gaap_IncreaseDecreaseInFairValueOfPriceRiskFairValueHedgingInstruments1_01a50c0c-5b97-4792-bec5-d7bea46196a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_f944ab8e-ad71-40be-816c-b6b6b0397f59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_e30d9aaa-ae14-4a8d-a367-ebc9c01a5279" xlink:to="loc_us-gaap_OtherIncome_f944ab8e-ad71-40be-816c-b6b6b0397f59" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageBankingActivitiesNet_e05f8cc9-74e5-4dc2-8d25-212bb79727c3" xlink:href="rwt-20240930.xsd#rwt_MortgageBankingActivitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_e30d9aaa-ae14-4a8d-a367-ebc9c01a5279" xlink:to="loc_rwt_MortgageBankingActivitiesNet_e05f8cc9-74e5-4dc2-8d25-212bb79727c3" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#FairValueofFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e0bad789-a431-4fef-9f75-a7b96f63debc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5c2f3e54-8c24-44d3-8ea9-3e6701a7a254" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e0bad789-a431-4fef-9f75-a7b96f63debc" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5c2f3e54-8c24-44d3-8ea9-3e6701a7a254" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_775b5422-9ab0-4d8f-8fa8-df5945ce57f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5c2f3e54-8c24-44d3-8ea9-3e6701a7a254" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_775b5422-9ab0-4d8f-8fa8-df5945ce57f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_775b5422-9ab0-4d8f-8fa8-df5945ce57f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_775b5422-9ab0-4d8f-8fa8-df5945ce57f5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_775b5422-9ab0-4d8f-8fa8-df5945ce57f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_664cfbb1-caac-4ec5-8c70-7ccc84fce9db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_775b5422-9ab0-4d8f-8fa8-df5945ce57f5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_664cfbb1-caac-4ec5-8c70-7ccc84fce9db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_c68be809-5ddd-406d-8489-d2805016e94a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_664cfbb1-caac-4ec5-8c70-7ccc84fce9db" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_c68be809-5ddd-406d-8489-d2805016e94a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_af3b8fb1-9bcd-4978-b1af-f86a6c46bc7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5c2f3e54-8c24-44d3-8ea9-3e6701a7a254" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_af3b8fb1-9bcd-4978-b1af-f86a6c46bc7d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_af3b8fb1-9bcd-4978-b1af-f86a6c46bc7d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_af3b8fb1-9bcd-4978-b1af-f86a6c46bc7d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_af3b8fb1-9bcd-4978-b1af-f86a6c46bc7d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b6cddbe-0dbd-41e4-b2fb-0e9a52aa28d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_af3b8fb1-9bcd-4978-b1af-f86a6c46bc7d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b6cddbe-0dbd-41e4-b2fb-0e9a52aa28d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansAtFairValueMember_0637126c-6b67-41af-8197-c488c994456e" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3b6cddbe-0dbd-41e4-b2fb-0e9a52aa28d3" xlink:to="loc_rwt_ResidentialConsumerLoansAtFairValueMember_0637126c-6b67-41af-8197-c488c994456e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3bd40feb-6e78-4722-9ef3-b64f99d72b13" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_5c2f3e54-8c24-44d3-8ea9-3e6701a7a254" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3bd40feb-6e78-4722-9ef3-b64f99d72b13" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_3bd40feb-6e78-4722-9ef3-b64f99d72b13_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3bd40feb-6e78-4722-9ef3-b64f99d72b13" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_3bd40feb-6e78-4722-9ef3-b64f99d72b13_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_35d5fecb-ccc7-48b1-bc69-b67fb99567d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3bd40feb-6e78-4722-9ef3-b64f99d72b13" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_35d5fecb-ccc7-48b1-bc69-b67fb99567d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_5d45791e-1317-4b39-9d01-2789caec1e7f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_35d5fecb-ccc7-48b1-bc69-b67fb99567d2" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_5d45791e-1317-4b39-9d01-2789caec1e7f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_836cb7b5-d786-4d0b-8073-9230199a12b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_35d5fecb-ccc7-48b1-bc69-b67fb99567d2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_836cb7b5-d786-4d0b-8073-9230199a12b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_d74d2ef0-078a-4453-9f5b-535df15860f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_35d5fecb-ccc7-48b1-bc69-b67fb99567d2" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_d74d2ef0-078a-4453-9f5b-535df15860f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e0bad789-a431-4fef-9f75-a7b96f63debc" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesFairValueDisclosure_1f584cc7-6d79-44b6-b6e7-c698d67c4aee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReceivablesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_us-gaap_ReceivablesFairValueDisclosure_1f584cc7-6d79-44b6-b6e7-c698d67c4aee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansFairValueDisclosure_51121bfa-b3e7-41b6-bc72-ac3aa5fe4008" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_rwt_ResidentialInvestorLoansFairValueDisclosure_51121bfa-b3e7-41b6-bc72-ac3aa5fe4008" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MultifamilyLoansFairValueDisclosure_7fd47437-4cb6-454a-a40f-edcbfca95e00" xlink:href="rwt-20240930.xsd#rwt_MultifamilyLoansFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_rwt_MultifamilyLoansFairValueDisclosure_7fd47437-4cb6-454a-a40f-edcbfca95e00" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt_8749d4fa-eeeb-4c18-abee-cfe2c0ec2b47" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_us-gaap_TradingSecuritiesDebt_8749d4fa-eeeb-4c18-abee-cfe2c0ec2b47" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_b72ea2f0-7294-4510-9caa-d327e7ee1a05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_b72ea2f0-7294-4510-9caa-d327e7ee1a05" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_72674acb-d7dc-4339-8aba-0488518581f8" xlink:href="rwt-20240930.xsd#rwt_HomeAppreciationOptionsFairvalueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_72674acb-d7dc-4339-8aba-0488518581f8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicerAdvanceInvestments_30fb5b81-1d28-43be-886b-91959c170404" xlink:href="rwt-20240930.xsd#rwt_ServicerAdvanceInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_rwt_ServicerAdvanceInvestments_30fb5b81-1d28-43be-886b-91959c170404" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExcessMortgageServicingRightsIOs_4d4b67dc-771b-46d0-bef7-9e0cf9a9a5d5" xlink:href="rwt-20240930.xsd#rwt_ExcessMortgageServicingRightsIOs"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_rwt_ExcessMortgageServicingRightsIOs_4d4b67dc-771b-46d0-bef7-9e0cf9a9a5d5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_64ac2494-5986-4fa0-a3e8-cd09af3e8610" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_64ac2494-5986-4fa0-a3e8-cd09af3e8610" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsAtFairValueAmount_fa49dbaf-8bd2-4008-af7c-54caad8914a2" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsAtFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_rwt_StrategicInvestmentsAtFairValueAmount_fa49dbaf-8bd2-4008-af7c-54caad8914a2" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_3ce1059d-105b-4e25-8b54-56d8bbe5204f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_us-gaap_OtherInvestments_3ce1059d-105b-4e25-8b54-56d8bbe5204f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_23c9b495-c8fe-456a-997e-42b7a7d9d7a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_us-gaap_DerivativeAssets_23c9b495-c8fe-456a-997e-42b7a7d9d7a8" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d554c831-b227-4559-a949-f2ad1e321af4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_3cab278f-3b0d-4532-914f-4c525886094b" xlink:to="loc_us-gaap_Assets_d554c831-b227-4559-a949-f2ad1e321af4" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_5fb86a82-c3de-4f6d-b602-f8913f981c06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e0bad789-a431-4fef-9f75-a7b96f63debc" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_5fb86a82-c3de-4f6d-b602-f8913f981c06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_7731f46d-d332-449c-938e-e4140fd49f99" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_5fb86a82-c3de-4f6d-b602-f8913f981c06" xlink:to="loc_us-gaap_DebtInstrumentFairValue_7731f46d-d332-449c-938e-e4140fd49f99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_e9870db9-b393-4852-b4ce-e052916deeac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_5fb86a82-c3de-4f6d-b602-f8913f981c06" xlink:to="loc_us-gaap_DerivativeLiabilities_e9870db9-b393-4852-b4ce-e052916deeac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NoncontrollingInterestFairValueDisclosure_bf0f0fbb-d144-46a0-9c89-e51b0ab158d1" xlink:href="rwt-20240930.xsd#rwt_NoncontrollingInterestFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_5fb86a82-c3de-4f6d-b602-f8913f981c06" xlink:to="loc_rwt_NoncontrollingInterestFairValueDisclosure_bf0f0fbb-d144-46a0-9c89-e51b0ab158d1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_af2263f7-3914-45ac-8796-b8741e1ace51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_5fb86a82-c3de-4f6d-b602-f8913f981c06" xlink:to="loc_us-gaap_Liabilities_af2263f7-3914-45ac-8796-b8741e1ace51" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsChangesinLevel3AssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#FairValueofFinancialInstrumentsChangesinLevel3AssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsChangesinLevel3AssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_62f9150d-9277-428f-b536-c76ea9c51e1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_683815de-c2d0-4f64-9439-60eb9e40647d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_62f9150d-9277-428f-b536-c76ea9c51e1d" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_683815de-c2d0-4f64-9439-60eb9e40647d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_6caa6745-8a96-449a-989e-438889295a32" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_683815de-c2d0-4f64-9439-60eb9e40647d" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_6caa6745-8a96-449a-989e-438889295a32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6caa6745-8a96-449a-989e-438889295a32_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_6caa6745-8a96-449a-989e-438889295a32" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_6caa6745-8a96-449a-989e-438889295a32_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_6caa6745-8a96-449a-989e-438889295a32" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansAtFairValueMember_8782ff14-8617-4dcd-bfde-abce1a2d88cd" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_ResidentialConsumerLoansAtFairValueMember_8782ff14-8617-4dcd-bfde-abce1a2d88cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansMember_70463ca5-7c8d-4938-87d0-62ae21a6b83f" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_ResidentialInvestorLoansMember_70463ca5-7c8d-4938-87d0-62ae21a6b83f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MultifamilyLoansMember_fd732691-f7d9-4da3-804d-8b3883c6ba90" xlink:href="rwt-20240930.xsd#rwt_MultifamilyLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_MultifamilyLoansMember_fd732691-f7d9-4da3-804d-8b3883c6ba90" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealEstateTradingSecuritiesMember_1b549fd5-3138-4bc6-91f8-76cca037551d" xlink:href="rwt-20240930.xsd#rwt_RealEstateTradingSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_RealEstateTradingSecuritiesMember_1b549fd5-3138-4bc6-91f8-76cca037551d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealEstateAFSSecuritiesMember_89730de9-d81e-49fa-b55e-a06252d43a06" xlink:href="rwt-20240930.xsd#rwt_RealEstateAFSSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_RealEstateAFSSecuritiesMember_89730de9-d81e-49fa-b55e-a06252d43a06" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestmentsMember_5a033c5f-6490-4d7b-ad89-7b6e62a9ce47" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_HomeEquityInvestmentsMember_5a033c5f-6490-4d7b-ad89-7b6e62a9ce47" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicerAdvanceInvestmentsMember_83dddaf1-7dac-49f4-8e33-d3ec4d08bc4d" xlink:href="rwt-20240930.xsd#rwt_ServicerAdvanceInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_ServicerAdvanceInvestmentsMember_83dddaf1-7dac-49f4-8e33-d3ec4d08bc4d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExcessMortgageServicingRightsMember_62cff9ff-afaa-4229-bfde-efd70384a457" xlink:href="rwt-20240930.xsd#rwt_ExcessMortgageServicingRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_ExcessMortgageServicingRightsMember_62cff9ff-afaa-4229-bfde-efd70384a457" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MSRsStrategicInvestmentsAndOtherAssetClassMember_14acf94c-4a8c-4ab1-924b-23ff64c0b25b" xlink:href="rwt-20240930.xsd#rwt_MSRsStrategicInvestmentsAndOtherAssetClassMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_rwt_MSRsStrategicInvestmentsAndOtherAssetClassMember_14acf94c-4a8c-4ab1-924b-23ff64c0b25b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFinancialInstrumentsAssetsMember_37633d39-c5fd-465e-bd51-9156c6d81bad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFinancialInstrumentsAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_932a89c8-a12f-49ee-9929-3b9f1d417ff7" xlink:to="loc_us-gaap_DerivativeFinancialInstrumentsAssetsMember_37633d39-c5fd-465e-bd51-9156c6d81bad" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_bc486624-a00a-46f4-817b-5e735dad5f97" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByLiabilityClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_683815de-c2d0-4f64-9439-60eb9e40647d" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_bc486624-a00a-46f4-817b-5e735dad5f97" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_bc486624-a00a-46f4-817b-5e735dad5f97_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_bc486624-a00a-46f4-817b-5e735dad5f97" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_bc486624-a00a-46f4-817b-5e735dad5f97_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_e8257077-5755-48fe-85dd-9ee22fed305e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_bc486624-a00a-46f4-817b-5e735dad5f97" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_e8257077-5755-48fe-85dd-9ee22fed305e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_b629acd1-0f65-43eb-bc17-4898bbba9c1f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_e8257077-5755-48fe-85dd-9ee22fed305e" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_b629acd1-0f65-43eb-bc17-4898bbba9c1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PointHEINoncontrollingInterestMember_d4c311a2-d497-4a6b-899f-a49c41f093f9" xlink:href="rwt-20240930.xsd#rwt_PointHEINoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_e8257077-5755-48fe-85dd-9ee22fed305e" xlink:to="loc_rwt_PointHEINoncontrollingInterestMember_d4c311a2-d497-4a6b-899f-a49c41f093f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_62f9150d-9277-428f-b536-c76ea9c51e1d" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_986aeb12-e791-4ebc-bab3-3fcf10d3a6e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_986aeb12-e791-4ebc-bab3-3fcf10d3a6e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPricePaid_887e0e81-c65c-4e0c-bfd6-c78184ec0aba" xlink:href="rwt-20240930.xsd#rwt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPricePaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_rwt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPricePaid_887e0e81-c65c-4e0c-bfd6-c78184ec0aba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisAssetOriginations_12e96bb3-2fbe-42d6-961d-c9155cb5cce4" xlink:href="rwt-20240930.xsd#rwt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisAssetOriginations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_rwt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisAssetOriginations_12e96bb3-2fbe-42d6-961d-c9155cb5cce4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_aede9aa8-e574-4911-9fb2-2728664e5c65" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_aede9aa8-e574-4911-9fb2-2728664e5c65" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetCallsMaturitiesPaydowns_3023a6bf-d8ba-467a-bfb5-547cf9131b7e" xlink:href="rwt-20240930.xsd#rwt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetCallsMaturitiesPaydowns"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_rwt_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetCallsMaturitiesPaydowns_3023a6bf-d8ba-467a-bfb5-547cf9131b7e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_9c97e23b-9418-4927-ba16-75cb512c98d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_9c97e23b-9418-4927-ba16-75cb512c98d3" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss_4f53a8f7-c0ac-4b83-9fbe-3155054a30eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss_4f53a8f7-c0ac-4b83-9fbe-3155054a30eb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_74251d86-4435-4a50-b5b5-3035ef552580" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_74251d86-4435-4a50-b5b5-3035ef552580" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_dae52423-d63e-4179-9c6a-13dc736bf950" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_4304f1bf-a1df-426f-ab19-52185dc3c38d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_1be7e600-aeb5-435d-9dcf-c72d6ef08169" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_4304f1bf-a1df-426f-ab19-52185dc3c38d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_62f9150d-9277-428f-b536-c76ea9c51e1d" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_6e1409ad-73f5-4320-b3ee-d659c5a58903" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_6e1409ad-73f5-4320-b3ee-d659c5a58903" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_ef2d7eac-6989-4a6a-993f-dd015926d605" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_ef2d7eac-6989-4a6a-993f-dd015926d605" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_2ad79dc4-1cf1-4eb0-823a-7ed69f967d5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_2ad79dc4-1cf1-4eb0-823a-7ed69f967d5d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityPaydowns_40593062-f012-4fe8-bd22-55cba3f81ca8" xlink:href="rwt-20240930.xsd#rwt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityPaydowns"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:to="loc_rwt_FairValueMeasurementwithUnobservableInputsReconciliationRecurringBasisLiabilityPaydowns_40593062-f012-4fe8-bd22-55cba3f81ca8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_55f5981d-4005-4631-9242-0ba2497a2cb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_55f5981d-4005-4631-9242-0ba2497a2cb8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_8405682c-d2df-4dc3-bed3-34eb4ef93834" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_8405682c-d2df-4dc3-bed3-34eb4ef93834" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_baf1665d-e097-46ba-9996-d1c186407296" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_4dfcf09c-96f3-4efc-a043-c0639b56ff78" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_412c39ba-3dc2-4ec6-99f4-1725d8da4ed8" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_4dfcf09c-96f3-4efc-a043-c0639b56ff78" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsQuantitativeInformationaboutSignificantUnobservableInputsUsedinValuationofLevel3AssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#FairValueofFinancialInstrumentsQuantitativeInformationaboutSignificantUnobservableInputsUsedinValuationofLevel3AssetsandLiabilitiesMeasuredatFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsQuantitativeInformationaboutSignificantUnobservableInputsUsedinValuationofLevel3AssetsandLiabilitiesMeasuredatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1c67c078-8c83-435d-ab4d-2a22491308b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1c67c078-8c83-435d-ab4d-2a22491308b6" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_96e07e27-559a-403c-95ea-b2cc77f34892" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_96e07e27-559a-403c-95ea-b2cc77f34892" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_96e07e27-559a-403c-95ea-b2cc77f34892_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_96e07e27-559a-403c-95ea-b2cc77f34892" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_96e07e27-559a-403c-95ea-b2cc77f34892_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_96e07e27-559a-403c-95ea-b2cc77f34892" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialLoansPricedToSecuritizationAndWholeLoanMarketUncommittedToSellMember_4ead419e-0382-4d08-a47f-a87c9d4b7761" xlink:href="rwt-20240930.xsd#rwt_ResidentialLoansPricedToSecuritizationAndWholeLoanMarketUncommittedToSellMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_ResidentialLoansPricedToSecuritizationAndWholeLoanMarketUncommittedToSellMember_4ead419e-0382-4d08-a47f-a87c9d4b7761" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SingleFamilyBusinessPurposeResidentialInvestorsLoansMember_30418be7-a2f1-4669-bf3c-5f0a46f14543" xlink:href="rwt-20240930.xsd#rwt_SingleFamilyBusinessPurposeResidentialInvestorsLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_SingleFamilyBusinessPurposeResidentialInvestorsLoansMember_30418be7-a2f1-4669-bf3c-5f0a46f14543" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorBridgeLoansHeldForInvestmentMember_e5b7e531-e1cc-4ca0-b7a5-e7e50b031ff3" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorBridgeLoansHeldForInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_ResidentialInvestorBridgeLoansHeldForInvestmentMember_e5b7e531-e1cc-4ca0-b7a5-e7e50b031ff3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ConsolidatedAgencyMultifamilyLoansMember_200e9e37-d793-4a79-94d9-bec6d01edb56" xlink:href="rwt-20240930.xsd#rwt_ConsolidatedAgencyMultifamilyLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_ConsolidatedAgencyMultifamilyLoansMember_200e9e37-d793-4a79-94d9-bec6d01edb56" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_InvestmentSecuritiesMember_4aaadf42-9b73-4bfd-baa2-52610603497d" xlink:href="rwt-20240930.xsd#rwt_InvestmentSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_InvestmentSecuritiesMember_4aaadf42-9b73-4bfd-baa2-52610603497d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeAppreciationOptionMember_edd255f4-8a65-420d-969c-982cd0e4c0e5" xlink:href="rwt-20240930.xsd#rwt_HomeAppreciationOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_HomeAppreciationOptionMember_edd255f4-8a65-420d-969c-982cd0e4c0e5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicerAdvanceInvestmentsMember_d7d2d1e2-d7d8-46d5-b008-0a19077bdf10" xlink:href="rwt-20240930.xsd#rwt_ServicerAdvanceInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_ServicerAdvanceInvestmentsMember_d7d2d1e2-d7d8-46d5-b008-0a19077bdf10" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_cf94e47f-f011-490f-a807-215c31b0faf4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_us-gaap_OtherAssetsMember_cf94e47f-f011-490f-a807-215c31b0faf4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_92486e8d-4762-4904-9b12-70cbed85e04e" xlink:href="rwt-20240930.xsd#rwt_SequoiaChoiceSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_92486e8d-4762-4904-9b12-70cbed85e04e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesMember_7d336ca2-c05e-4ed7-a895-2acb32e105cb" xlink:href="rwt-20240930.xsd#rwt_FreddieMacKSeriesSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesMember_7d336ca2-c05e-4ed7-a895-2acb32e105cb" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansHeldByCAFLSecuritizationEntitiesMember_66e23032-48b1-4b01-ac60-fd0efe531143" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansHeldByCAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_BridgeLoansHeldByCAFLSecuritizationEntitiesMember_66e23032-48b1-4b01-ac60-fd0efe531143" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesMember_52aa582f-30db-4024-9629-5ce1bbebb9e6" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_CAFLSecuritizationEntitiesMember_52aa582f-30db-4024-9629-5ce1bbebb9e6" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLBridgeLoanSecuritizationMember_ca9f0028-3d4f-48e9-92f2-52d77837cae8" xlink:href="rwt-20240930.xsd#rwt_CAFLBridgeLoanSecuritizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_CAFLBridgeLoanSecuritizationMember_ca9f0028-3d4f-48e9-92f2-52d77837cae8" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_90e83751-5ec4-474f-974c-eb317cbf00a5" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_05f1ffaf-be2b-4817-8651-b01265026e99" xlink:to="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_90e83751-5ec4-474f-974c-eb317cbf00a5" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_3c0b8232-e0eb-4089-81ba-8db757d86985" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_srt_RangeAxis_3c0b8232-e0eb-4089-81ba-8db757d86985" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_3c0b8232-e0eb-4089-81ba-8db757d86985_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_3c0b8232-e0eb-4089-81ba-8db757d86985" xlink:to="loc_srt_RangeMember_3c0b8232-e0eb-4089-81ba-8db757d86985_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_dbb01259-b85a-4c44-9fe2-4245922b0296" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_3c0b8232-e0eb-4089-81ba-8db757d86985" xlink:to="loc_srt_RangeMember_dbb01259-b85a-4c44-9fe2-4245922b0296" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_98b6a343-b272-4186-ad89-a04caa3c3ae0" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_dbb01259-b85a-4c44-9fe2-4245922b0296" xlink:to="loc_srt_MinimumMember_98b6a343-b272-4186-ad89-a04caa3c3ae0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_b16b477d-e1b6-4a7e-9d2a-7801b940cdda" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_dbb01259-b85a-4c44-9fe2-4245922b0296" xlink:to="loc_srt_MaximumMember_b16b477d-e1b6-4a7e-9d2a-7801b940cdda" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_d6583af4-6727-4478-8762-4138484cda1f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_dbb01259-b85a-4c44-9fe2-4245922b0296" xlink:to="loc_srt_WeightedAverageMember_d6583af4-6727-4478-8762-4138484cda1f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeAxis_90c20816-6d64-4cb4-8ae4-fd2ed0dcebf7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MeasurementInputTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_us-gaap_MeasurementInputTypeAxis_90c20816-6d64-4cb4-8ae4-fd2ed0dcebf7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_90c20816-6d64-4cb4-8ae4-fd2ed0dcebf7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_90c20816-6d64-4cb4-8ae4-fd2ed0dcebf7" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_90c20816-6d64-4cb4-8ae4-fd2ed0dcebf7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MeasurementInputTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MeasurementInputTypeAxis_90c20816-6d64-4cb4-8ae4-fd2ed0dcebf7" xlink:to="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputWholeLoanSpreadToTBAPriceMember_a1fe84e9-27f3-4f00-9bc3-0662f5946ddd" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputWholeLoanSpreadToTBAPriceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputWholeLoanSpreadToTBAPriceMember_a1fe84e9-27f3-4f00-9bc3-0662f5946ddd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputSeniorCreditSpreadToSwapRateMember_50c5fe0f-7519-41d9-a580-9b597c59c7a3" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputSeniorCreditSpreadToSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputSeniorCreditSpreadToSwapRateMember_50c5fe0f-7519-41d9-a580-9b597c59c7a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputWholeLoanSpreadToSwapRateMember_f46c60e0-285b-483c-9821-ebad34084bf4" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputWholeLoanSpreadToSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputWholeLoanSpreadToSwapRateMember_f46c60e0-285b-483c-9821-ebad34084bf4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SeniorCreditSupportMember_f6c6988d-a98a-47cb-b749-3036d6d0e112" xlink:href="rwt-20240930.xsd#rwt_SeniorCreditSupportMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_SeniorCreditSupportMember_f6c6988d-a98a-47cb-b749-3036d6d0e112" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputISODiscountRateMember_b409c122-68e9-4f21-9e8c-3157a1c8ddde" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputISODiscountRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputISODiscountRateMember_b409c122-68e9-4f21-9e8c-3157a1c8ddde" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputLiabilityPriceMember_a9e78ac3-79e6-4d51-a3e6-f1866a677457" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputLiabilityPriceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputLiabilityPriceMember_a9e78ac3-79e6-4d51-a3e6-f1866a677457" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_WholeLoanSpreadMember_0c9b3b16-b08d-4121-a2a3-27637c10671e" xlink:href="rwt-20240930.xsd#rwt_WholeLoanSpreadMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_WholeLoanSpreadMember_0c9b3b16-b08d-4121-a2a3-27637c10671e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputDiscountRateMember_6ff54629-ca41-4163-a77c-a81f244effb2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MeasurementInputDiscountRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_us-gaap_MeasurementInputDiscountRateMember_6ff54629-ca41-4163-a77c-a81f244effb2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputWholeLoanDollarPriceMember_19f9f207-3941-4e4d-b23c-a0e09bfef152" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputWholeLoanDollarPriceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputWholeLoanDollarPriceMember_19f9f207-3941-4e4d-b23c-a0e09bfef152" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputPrepaymentRateMember_7ec6969f-a27f-4b11-b038-e2e49ccf9c12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MeasurementInputPrepaymentRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_us-gaap_MeasurementInputPrepaymentRateMember_7ec6969f-a27f-4b11-b038-e2e49ccf9c12" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputDefaultRateMember_87669de5-6510-4173-9e70-d44ee359b2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MeasurementInputDefaultRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_us-gaap_MeasurementInputDefaultRateMember_87669de5-6510-4173-9e70-d44ee359b2a3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MeasurementInputLossSeverityMember_c4025591-cccd-4561-9907-b668dca64487" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MeasurementInputLossSeverityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_us-gaap_MeasurementInputLossSeverityMember_c4025591-cccd-4561-9907-b668dca64487" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputHomePriceAppreciationDepreciationMember_11a54796-4327-4c26-9c86-b2d697d0552c" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputHomePriceAppreciationDepreciationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputHomePriceAppreciationDepreciationMember_11a54796-4327-4c26-9c86-b2d697d0552c" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MeasurementInputMortgageServicingIncomeMember_8d06b4f7-57dc-46e8-814d-64ad5beb2154" xlink:href="rwt-20240930.xsd#rwt_MeasurementInputMortgageServicingIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MeasurementInputTypeDomain_279c32d1-d7c5-42f0-a1f7-b9d82c7c014e" xlink:to="loc_rwt_MeasurementInputMortgageServicingIncomeMember_8d06b4f7-57dc-46e8-814d-64ad5beb2154" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_920726ef-38e9-4f0e-820c-68a80690445c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByLiabilityClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_920726ef-38e9-4f0e-820c-68a80690445c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_920726ef-38e9-4f0e-820c-68a80690445c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_920726ef-38e9-4f0e-820c-68a80690445c" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_920726ef-38e9-4f0e-820c-68a80690445c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_00cd9d14-2595-4ce1-9163-4ba88a906caf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_920726ef-38e9-4f0e-820c-68a80690445c" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_00cd9d14-2595-4ce1-9163-4ba88a906caf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ABSIssuedSecuritiesMember_4c5b087b-6424-4752-b912-693d94d4038c" xlink:href="rwt-20240930.xsd#rwt_ABSIssuedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_00cd9d14-2595-4ce1-9163-4ba88a906caf" xlink:to="loc_rwt_ABSIssuedSecuritiesMember_4c5b087b-6424-4752-b912-693d94d4038c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesMember_7c495b72-2cd7-42b5-a926-e9dfb61e6aea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_00cd9d14-2595-4ce1-9163-4ba88a906caf" xlink:to="loc_us-gaap_OtherLiabilitiesMember_7c495b72-2cd7-42b5-a926-e9dfb61e6aea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0f7a26a4-6b2d-4eb4-b12e-e8ab352e0b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0f7a26a4-6b2d-4eb4-b12e-e8ab352e0b4c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0f7a26a4-6b2d-4eb4-b12e-e8ab352e0b4c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0f7a26a4-6b2d-4eb4-b12e-e8ab352e0b4c" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0f7a26a4-6b2d-4eb4-b12e-e8ab352e0b4c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ea76a804-d9c4-4a24-a449-eb13f5a0b6ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_0f7a26a4-6b2d-4eb4-b12e-e8ab352e0b4c" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ea76a804-d9c4-4a24-a449-eb13f5a0b6ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_49c628a7-d5b3-4f70-b17e-43003aabd8e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ea76a804-d9c4-4a24-a449-eb13f5a0b6ea" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_49c628a7-d5b3-4f70-b17e-43003aabd8e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_c62428a7-80b7-48c1-b7e6-ef04847b30d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_c62428a7-80b7-48c1-b7e6-ef04847b30d5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_c62428a7-80b7-48c1-b7e6-ef04847b30d5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_c62428a7-80b7-48c1-b7e6-ef04847b30d5" xlink:to="loc_us-gaap_RelatedPartyDomain_c62428a7-80b7-48c1-b7e6-ef04847b30d5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_58f448de-f4e3-4166-868c-511c68cc6323" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_c62428a7-80b7-48c1-b7e6-ef04847b30d5" xlink:to="loc_us-gaap_RelatedPartyDomain_58f448de-f4e3-4166-868c-511c68cc6323" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PointMember_b0572a90-c618-4f13-a42c-439ee17790da" xlink:href="rwt-20240930.xsd#rwt_PointMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_58f448de-f4e3-4166-868c-511c68cc6323" xlink:to="loc_rwt_PointMember_b0572a90-c618-4f13-a42c-439ee17790da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralAxis_3f39583a-ae8f-40a9-b73e-a9f75a7e3567" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_us-gaap_CollateralAxis_3f39583a-ae8f-40a9-b73e-a9f75a7e3567" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_3f39583a-ae8f-40a9-b73e-a9f75a7e3567_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_3f39583a-ae8f-40a9-b73e-a9f75a7e3567" xlink:to="loc_us-gaap_CollateralDomain_3f39583a-ae8f-40a9-b73e-a9f75a7e3567_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_5eeea14d-b373-46e8-94ed-9be880a43a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_3f39583a-ae8f-40a9-b73e-a9f75a7e3567" xlink:to="loc_us-gaap_CollateralDomain_5eeea14d-b373-46e8-94ed-9be880a43a9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CollateralizedFinancingEntitiesMember_9cb20d5a-9231-4f24-b3bb-a96b62d31998" xlink:href="rwt-20240930.xsd#rwt_CollateralizedFinancingEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_5eeea14d-b373-46e8-94ed-9be880a43a9d" xlink:to="loc_rwt_CollateralizedFinancingEntitiesMember_9cb20d5a-9231-4f24-b3bb-a96b62d31998" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_3289e716-df8f-4de0-9bfe-0199fa57f5d8" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_5f7c88dd-fea5-4758-803a-e109c880bd36" xlink:to="loc_srt_ConsolidatedEntitiesAxis_3289e716-df8f-4de0-9bfe-0199fa57f5d8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_3289e716-df8f-4de0-9bfe-0199fa57f5d8_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_3289e716-df8f-4de0-9bfe-0199fa57f5d8" xlink:to="loc_srt_ConsolidatedEntitiesDomain_3289e716-df8f-4de0-9bfe-0199fa57f5d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ccad3f8b-4d96-4689-9127-bf072f1cdd66" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_3289e716-df8f-4de0-9bfe-0199fa57f5d8" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ccad3f8b-4d96-4689-9127-bf072f1cdd66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_757f4aa4-c068-4246-a059-b34cd457b26a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ccad3f8b-4d96-4689-9127-bf072f1cdd66" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_757f4aa4-c068-4246-a059-b34cd457b26a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1c67c078-8c83-435d-ab4d-2a22491308b6" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_0cc3face-3335-4657-88e7-4d72142ff842" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_0cc3face-3335-4657-88e7-4d72142ff842" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansHeldForSaleMeasurementInput_7f680f1a-2bdf-4d7f-8855-8c4f89c0c1d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoansHeldForSaleMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_us-gaap_LoansHeldForSaleMeasurementInput_7f680f1a-2bdf-4d7f-8855-8c4f89c0c1d7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanPurchaseCommitmentsMeasurementInput_e0123366-ed24-4362-9e5b-e474196f120a" xlink:href="rwt-20240930.xsd#rwt_LoanPurchaseCommitmentsMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_LoanPurchaseCommitmentsMeasurementInput_e0123366-ed24-4362-9e5b-e474196f120a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansReceivableMeasurementInput_3a4480a7-b607-4603-8f76-f5f7836c8152" xlink:href="rwt-20240930.xsd#rwt_LoansReceivableMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_LoansReceivableMeasurementInput_3a4480a7-b607-4603-8f76-f5f7836c8152" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansHeldForInvestmentMeasurementInput_88f74944-f22d-4445-bd1c-40874912c235" xlink:href="rwt-20240930.xsd#rwt_LoansHeldForInvestmentMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_LoansHeldForInvestmentMeasurementInput_88f74944-f22d-4445-bd1c-40874912c235" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_DebtSecuritiesTradingAndAvailableforsaleFairValueDisclosure_846ecc1b-3242-4d8a-8794-fa4bc12e0fa1" xlink:href="rwt-20240930.xsd#rwt_DebtSecuritiesTradingAndAvailableforsaleFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_DebtSecuritiesTradingAndAvailableforsaleFairValueDisclosure_846ecc1b-3242-4d8a-8794-fa4bc12e0fa1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_DebtSecuritiesTradingAndAvailableforsaleMeasurementInput_f4f8a891-c724-4223-9bcd-4c9f0322cd54" xlink:href="rwt-20240930.xsd#rwt_DebtSecuritiesTradingAndAvailableforsaleMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_DebtSecuritiesTradingAndAvailableforsaleMeasurementInput_f4f8a891-c724-4223-9bcd-4c9f0322cd54" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_1d57ad05-3db5-4103-81a1-38eeb9a22333" xlink:href="rwt-20240930.xsd#rwt_HomeAppreciationOptionsFairvalueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_HomeAppreciationOptionsFairvalueDisclosure_1d57ad05-3db5-4103-81a1-38eeb9a22333" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeAppreciationOptionsMeasurementInput_e3f22e16-18d6-4927-9b3d-42a07ddeac7e" xlink:href="rwt-20240930.xsd#rwt_HomeAppreciationOptionsMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_HomeAppreciationOptionsMeasurementInput_e3f22e16-18d6-4927-9b3d-42a07ddeac7e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_9636a9bd-a52b-4599-89de-00dae74dbe5c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_us-gaap_ServicingAsset_9636a9bd-a52b-4599-89de-00dae74dbe5c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetMeasurementInput_ee58306c-bad5-4841-84b4-300892c6acfc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_us-gaap_ServicingAssetMeasurementInput_ee58306c-bad5-4841-84b4-300892c6acfc" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_716b7af4-e08d-44d7-b7ce-dbdbf7f3354c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_us-gaap_OtherAssets_716b7af4-e08d-44d7-b7ce-dbdbf7f3354c" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicingAssetExpectedRemainingLife_6eabdc91-a5aa-4548-8459-a3cd80bf8aab" xlink:href="rwt-20240930.xsd#rwt_ServicingAssetExpectedRemainingLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_rwt_ServicingAssetExpectedRemainingLife_6eabdc91-a5aa-4548-8459-a3cd80bf8aab" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_59b31130-2b69-45e4-9439-8022574a5280" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_67fedf7a-9f29-4bb0-b92e-a92b009a9973" xlink:to="loc_us-gaap_Assets_59b31130-2b69-45e4-9439-8022574a5280" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c1d5fa5f-dc01-41f4-a5a2-566ca600b3bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1c67c078-8c83-435d-ab4d-2a22491308b6" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c1d5fa5f-dc01-41f4-a5a2-566ca600b3bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingLiabilityAtFairValueAmount_1fe8fe19-0d2a-42b7-a160-e6f3851c903d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingLiabilityAtFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c1d5fa5f-dc01-41f4-a5a2-566ca600b3bb" xlink:to="loc_us-gaap_ServicingLiabilityAtFairValueAmount_1fe8fe19-0d2a-42b7-a160-e6f3851c903d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingLiabilityMeasurementInput_4d34af82-6e5d-4883-a898-b96010e59bb4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingLiabilityMeasurementInput"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c1d5fa5f-dc01-41f4-a5a2-566ca600b3bb" xlink:to="loc_us-gaap_ServicingLiabilityMeasurementInput_4d34af82-6e5d-4883-a898-b96010e59bb4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_ad85f754-f48e-4f0c-9981-a81804c72058" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c1d5fa5f-dc01-41f4-a5a2-566ca600b3bb" xlink:to="loc_us-gaap_OtherLiabilities_ad85f754-f48e-4f0c-9981-a81804c72058" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_e178fc8a-3347-4f62-b39d-85db385cc9d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_c1d5fa5f-dc01-41f4-a5a2-566ca600b3bb" xlink:to="loc_us-gaap_Liabilities_e178fc8a-3347-4f62-b39d-85db385cc9d6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue_d1ef6b2b-885d-40b0-b1fe-5adb4ca4ae01" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1c67c078-8c83-435d-ab4d-2a22491308b6" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue_d1ef6b2b-885d-40b0-b1fe-5adb4ca4ae01" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SecuritizationEntity_cf36fad1-716c-43bf-94af-366ee9b434b7" xlink:href="rwt-20240930.xsd#rwt_SecuritizationEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_1c67c078-8c83-435d-ab4d-2a22491308b6" xlink:to="loc_rwt_SecuritizationEntity_cf36fad1-716c-43bf-94af-366ee9b434b7" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsCarryingValuesandEstimatedFairValuesofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#FairValueofFinancialInstrumentsCarryingValuesandEstimatedFairValuesofAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsCarryingValuesandEstimatedFairValuesofAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2388b466-2ba1-40c3-a1bc-a09c7c14d801" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_182ebc59-1a47-4872-80a9-7968e2f99bea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2388b466-2ba1-40c3-a1bc-a09c7c14d801" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_182ebc59-1a47-4872-80a9-7968e2f99bea" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_355cfc00-a9fc-4694-8849-27760494600d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_182ebc59-1a47-4872-80a9-7968e2f99bea" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_355cfc00-a9fc-4694-8849-27760494600d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_355cfc00-a9fc-4694-8849-27760494600d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_355cfc00-a9fc-4694-8849-27760494600d" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_355cfc00-a9fc-4694-8849-27760494600d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_71592738-8030-4d7e-898b-cb4ab8cc899a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_355cfc00-a9fc-4694-8849-27760494600d" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_71592738-8030-4d7e-898b-cb4ab8cc899a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2380ee92-e3c2-420a-b5d8-de29641982a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_71592738-8030-4d7e-898b-cb4ab8cc899a" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2380ee92-e3c2-420a-b5d8-de29641982a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_9a33b4c6-db4e-444c-9744-7bc78c5f3263" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2380ee92-e3c2-420a-b5d8-de29641982a0" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_9a33b4c6-db4e-444c-9744-7bc78c5f3263" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_bab7ea89-c490-486e-9609-822ad745baaa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_2380ee92-e3c2-420a-b5d8-de29641982a0" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_bab7ea89-c490-486e-9609-822ad745baaa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_858add3a-7c6b-48dd-9507-90208c5c84c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_182ebc59-1a47-4872-80a9-7968e2f99bea" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_858add3a-7c6b-48dd-9507-90208c5c84c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_858add3a-7c6b-48dd-9507-90208c5c84c2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_858add3a-7c6b-48dd-9507-90208c5c84c2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_858add3a-7c6b-48dd-9507-90208c5c84c2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_da47d170-23a5-4628-bdb1-1e4e1c2de9ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_858add3a-7c6b-48dd-9507-90208c5c84c2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_da47d170-23a5-4628-bdb1-1e4e1c2de9ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_b1721171-2391-4652-ad45-fe165c66bd84" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_da47d170-23a5-4628-bdb1-1e4e1c2de9ce" xlink:to="loc_us-gaap_SeniorNotesMember_b1721171-2391-4652-ad45-fe165c66bd84" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_29a1ea8d-19f4-4175-b8fe-d3e011a1ab48" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_182ebc59-1a47-4872-80a9-7968e2f99bea" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_29a1ea8d-19f4-4175-b8fe-d3e011a1ab48" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_29a1ea8d-19f4-4175-b8fe-d3e011a1ab48_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_29a1ea8d-19f4-4175-b8fe-d3e011a1ab48" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_29a1ea8d-19f4-4175-b8fe-d3e011a1ab48_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5b0fef77-bfd4-43e2-ae7f-7a8e986361cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_29a1ea8d-19f4-4175-b8fe-d3e011a1ab48" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5b0fef77-bfd4-43e2-ae7f-7a8e986361cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_4a78f987-946b-4cc3-b90e-b71a05215d76" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5b0fef77-bfd4-43e2-ae7f-7a8e986361cc" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_4a78f987-946b-4cc3-b90e-b71a05215d76" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_7244d9af-a2c3-40a7-9124-5e2496650b4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5b0fef77-bfd4-43e2-ae7f-7a8e986361cc" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_7244d9af-a2c3-40a7-9124-5e2496650b4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_c1260b27-4ce6-4b62-8d84-13d776724284" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5b0fef77-bfd4-43e2-ae7f-7a8e986361cc" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_c1260b27-4ce6-4b62-8d84-13d776724284" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_4cf9e86a-b0dc-43cc-b3b0-d4dc075c0cce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2388b466-2ba1-40c3-a1bc-a09c7c14d801" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_4cf9e86a-b0dc-43cc-b3b0-d4dc075c0cce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_6638b15c-3d8e-4690-9135-387356a71ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_4cf9e86a-b0dc-43cc-b3b0-d4dc075c0cce" xlink:to="loc_us-gaap_AssetsAbstract_6638b15c-3d8e-4690-9135-387356a71ac8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_511a1cfe-cd4c-490b-bfa4-1de76658dd54" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_6638b15c-3d8e-4690-9135-387356a71ac8" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_511a1cfe-cd4c-490b-bfa4-1de76658dd54" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RestrictedCashAndCashEquivalentsFairValueDisclosure_a3a7dc9c-b29e-4636-b75d-fb08fae92c82" xlink:href="rwt-20240930.xsd#rwt_RestrictedCashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_6638b15c-3d8e-4690-9135-387356a71ac8" xlink:to="loc_rwt_RestrictedCashAndCashEquivalentsFairValueDisclosure_a3a7dc9c-b29e-4636-b75d-fb08fae92c82" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_4cf9e86a-b0dc-43cc-b3b0-d4dc075c0cce" xlink:to="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations_ed95d4c0-f7ac-400d-866e-d936e62536cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisSubordinatedDebtObligations_ed95d4c0-f7ac-400d-866e-d936e62536cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesAtCarryingValue_bc9f4942-ad1e-494c-be82-fe31e6ee3dba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetBackedSecuritiesAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:to="loc_us-gaap_AssetBackedSecuritiesAtCarryingValue_bc9f4942-ad1e-494c-be82-fe31e6ee3dba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_9e4f640e-f6b9-4d7f-888a-e53e63aa3e42" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConvertibleDebtFairValueDisclosures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_9e4f640e-f6b9-4d7f-888a-e53e63aa3e42" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TrustPreferredSecuritiesAndSubordinatedNotesNetFairValueDisclosure_d1431dd2-bac7-4e0e-8c68-f21831fbea88" xlink:href="rwt-20240930.xsd#rwt_TrustPreferredSecuritiesAndSubordinatedNotesNetFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:to="loc_rwt_TrustPreferredSecuritiesAndSubordinatedNotesNetFairValueDisclosure_d1431dd2-bac7-4e0e-8c68-f21831fbea88" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_38ec14ad-a2a8-484f-95fd-128379d1e45c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:to="loc_us-gaap_LongTermDebtFairValue_38ec14ad-a2a8-484f-95fd-128379d1e45c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteesFairValueDisclosure_db8796d2-b13e-4031-bdc7-273a3acbd321" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GuaranteesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_8197c474-433f-4305-8535-6aa3447e06c7" xlink:to="loc_us-gaap_GuaranteesFairValueDisclosure_db8796d2-b13e-4031-bdc7-273a3acbd321" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#FairValueofFinancialInstrumentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/FairValueofFinancialInstrumentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_a5e4f71d-9520-4cde-a884-a8fc1fb71312" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_aef6eb9a-ef1d-4e43-bde6-8e387b942e25" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_a5e4f71d-9520-4cde-a884-a8fc1fb71312" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_aef6eb9a-ef1d-4e43-bde6-8e387b942e25" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_c1b51db8-5dba-4ddd-88e3-07feb74ebb81" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_aef6eb9a-ef1d-4e43-bde6-8e387b942e25" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_c1b51db8-5dba-4ddd-88e3-07feb74ebb81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_c1b51db8-5dba-4ddd-88e3-07feb74ebb81_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_c1b51db8-5dba-4ddd-88e3-07feb74ebb81" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_c1b51db8-5dba-4ddd-88e3-07feb74ebb81_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7a0f6352-386d-46ba-bdc8-8320e7fa12a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_c1b51db8-5dba-4ddd-88e3-07feb74ebb81" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7a0f6352-386d-46ba-bdc8-8320e7fa12a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SecuritiesMember_5846186c-be80-4ec6-92c1-209784030cac" xlink:href="rwt-20240930.xsd#rwt_SecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7a0f6352-386d-46ba-bdc8-8320e7fa12a2" xlink:to="loc_rwt_SecuritiesMember_5846186c-be80-4ec6-92c1-209784030cac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansMember_9ece192d-7a44-4b82-b9cf-b9833645defc" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7a0f6352-386d-46ba-bdc8-8320e7fa12a2" xlink:to="loc_rwt_ResidentialConsumerLoansMember_9ece192d-7a44-4b82-b9cf-b9833645defc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansMember_c3c21d6f-89d4-4f80-9e34-547be3cf5362" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7a0f6352-386d-46ba-bdc8-8320e7fa12a2" xlink:to="loc_rwt_ResidentialInvestorLoansMember_c3c21d6f-89d4-4f80-9e34-547be3cf5362" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestmentsMember_6f6ba77e-c688-43f4-a2a5-261a0496a8c7" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7a0f6352-386d-46ba-bdc8-8320e7fa12a2" xlink:to="loc_rwt_HomeEquityInvestmentsMember_6f6ba77e-c688-43f4-a2a5-261a0496a8c7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MSRsStrategicInvestmentsAndOtherAssetClassMember_1a0e90df-afa6-4e19-9e87-1e385b038118" xlink:href="rwt-20240930.xsd#rwt_MSRsStrategicInvestmentsAndOtherAssetClassMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7a0f6352-386d-46ba-bdc8-8320e7fa12a2" xlink:to="loc_rwt_MSRsStrategicInvestmentsAndOtherAssetClassMember_1a0e90df-afa6-4e19-9e87-1e385b038118" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueOptionAssetsAggregateCarryingAmountDuringPeriod_8816b044-047a-4c99-9032-c8267ad6ed83" xlink:href="rwt-20240930.xsd#rwt_FairValueOptionAssetsAggregateCarryingAmountDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_a5e4f71d-9520-4cde-a884-a8fc1fb71312" xlink:to="loc_rwt_FairValueOptionAssetsAggregateCarryingAmountDuringPeriod_8816b044-047a-4c99-9032-c8267ad6ed83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_0d71213f-2f3b-4e52-851b-963232838cb0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_a5e4f71d-9520-4cde-a884-a8fc1fb71312" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_0d71213f-2f3b-4e52-851b-963232838cb0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofClassificationsandCarryingValueofResidentialConsumerLoansDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialConsumerLoansScheduleofClassificationsandCarryingValueofResidentialConsumerLoansDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofClassificationsandCarryingValueofResidentialConsumerLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_3bd16865-0f21-4888-bd53-ddc6bfec6dd1" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_c6cd073e-e62c-474d-b1aa-212dd24633b8" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3bd16865-0f21-4888-bd53-ddc6bfec6dd1" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_c6cd073e-e62c-474d-b1aa-212dd24633b8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_c95895f7-9a88-427b-9efe-65211a3565b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_c6cd073e-e62c-474d-b1aa-212dd24633b8" xlink:to="loc_us-gaap_FinancialInstrumentAxis_c95895f7-9a88-427b-9efe-65211a3565b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c95895f7-9a88-427b-9efe-65211a3565b2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c95895f7-9a88-427b-9efe-65211a3565b2" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c95895f7-9a88-427b-9efe-65211a3565b2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2371f0fa-a621-4193-8a85-e9ed590e40c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c95895f7-9a88-427b-9efe-65211a3565b2" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2371f0fa-a621-4193-8a85-e9ed590e40c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_74573fb2-9a95-44d7-9c97-37f4da4ea5b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2371f0fa-a621-4193-8a85-e9ed590e40c5" xlink:to="loc_us-gaap_ResidentialMortgageMember_74573fb2-9a95-44d7-9c97-37f4da4ea5b7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_73619463-1032-4b90-b60c-beec817f3148" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_c6cd073e-e62c-474d-b1aa-212dd24633b8" xlink:to="loc_dei_LegalEntityAxis_73619463-1032-4b90-b60c-beec817f3148" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_73619463-1032-4b90-b60c-beec817f3148_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_73619463-1032-4b90-b60c-beec817f3148" xlink:to="loc_dei_EntityDomain_73619463-1032-4b90-b60c-beec817f3148_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_4b430fd4-147d-4e9a-9661-970237d31f21" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_73619463-1032-4b90-b60c-beec817f3148" xlink:to="loc_dei_EntityDomain_4b430fd4-147d-4e9a-9661-970237d31f21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RedwoodTrustInc.Member_fbd9292b-9e93-4713-9327-c0c3c487e061" xlink:href="rwt-20240930.xsd#rwt_RedwoodTrustInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_4b430fd4-147d-4e9a-9661-970237d31f21" xlink:to="loc_rwt_RedwoodTrustInc.Member_fbd9292b-9e93-4713-9327-c0c3c487e061" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_6ccfab0b-40ef-498e-ae56-6edfd3c01c8c" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_c6cd073e-e62c-474d-b1aa-212dd24633b8" xlink:to="loc_srt_ConsolidatedEntitiesAxis_6ccfab0b-40ef-498e-ae56-6edfd3c01c8c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_6ccfab0b-40ef-498e-ae56-6edfd3c01c8c_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_6ccfab0b-40ef-498e-ae56-6edfd3c01c8c" xlink:to="loc_srt_ConsolidatedEntitiesDomain_6ccfab0b-40ef-498e-ae56-6edfd3c01c8c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_4e23ea90-770f-43e8-8499-5fe05349d12d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_6ccfab0b-40ef-498e-ae56-6edfd3c01c8c" xlink:to="loc_srt_ConsolidatedEntitiesDomain_4e23ea90-770f-43e8-8499-5fe05349d12d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_4602f85d-8467-43fe-af84-f729bcf98ad3" xlink:href="rwt-20240930.xsd#rwt_SequoiaChoiceSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_4e23ea90-770f-43e8-8499-5fe05349d12d" xlink:to="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_4602f85d-8467-43fe-af84-f729bcf98ad3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_77ac53f4-76d6-42ee-b674-55bc3e57893b" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_4e23ea90-770f-43e8-8499-5fe05349d12d" xlink:to="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_77ac53f4-76d6-42ee-b674-55bc3e57893b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2cdbeb9e-474d-4a15-a841-7e47081abb72" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_c6cd073e-e62c-474d-b1aa-212dd24633b8" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2cdbeb9e-474d-4a15-a841-7e47081abb72" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2cdbeb9e-474d-4a15-a841-7e47081abb72_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2cdbeb9e-474d-4a15-a841-7e47081abb72" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2cdbeb9e-474d-4a15-a841-7e47081abb72_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8fdcb24e-9110-4b3a-9cf6-57d0baba8eca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_2cdbeb9e-474d-4a15-a841-7e47081abb72" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8fdcb24e-9110-4b3a-9cf6-57d0baba8eca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansHeldForSaleMember_e3ae5c48-1c15-4508-a615-bee8c702546c" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8fdcb24e-9110-4b3a-9cf6-57d0baba8eca" xlink:to="loc_rwt_ResidentialConsumerLoansHeldForSaleMember_e3ae5c48-1c15-4508-a615-bee8c702546c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember_e8344bb0-4684-4e31-bcad-cf5b46949767" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_8fdcb24e-9110-4b3a-9cf6-57d0baba8eca" xlink:to="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember_e8344bb0-4684-4e31-bcad-cf5b46949767" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_865afea1-0f9d-44b5-88d8-03a47b885ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3bd16865-0f21-4888-bd53-ddc6bfec6dd1" xlink:to="loc_us-gaap_NotesReceivableNet_865afea1-0f9d-44b5-88d8-03a47b885ae3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofCharacteristicsofResidentialConsumerLoansHeldforSaleDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialConsumerLoansScheduleofCharacteristicsofResidentialConsumerLoansHeldforSaleDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofCharacteristicsofResidentialConsumerLoansHeldforSaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_cdb5cb04-35e6-401f-9846-82c6086e0ed9" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_f0addf20-c1fe-4305-a0b3-15d653ce8e3f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_cdb5cb04-35e6-401f-9846-82c6086e0ed9" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_f0addf20-c1fe-4305-a0b3-15d653ce8e3f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_18fa45c5-7f6c-460e-bbd5-c829dc48c242" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_f0addf20-c1fe-4305-a0b3-15d653ce8e3f" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_18fa45c5-7f6c-460e-bbd5-c829dc48c242" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18fa45c5-7f6c-460e-bbd5-c829dc48c242_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_18fa45c5-7f6c-460e-bbd5-c829dc48c242" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_18fa45c5-7f6c-460e-bbd5-c829dc48c242_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c33727f2-d539-4917-ac8f-53e7af130b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_18fa45c5-7f6c-460e-bbd5-c829dc48c242" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c33727f2-d539-4917-ac8f-53e7af130b9e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansAtFairValueMember_d391c9e2-d0a3-4dbf-867a-acddc2515b1b" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c33727f2-d539-4917-ac8f-53e7af130b9e" xlink:to="loc_rwt_ResidentialConsumerLoansAtFairValueMember_d391c9e2-d0a3-4dbf-867a-acddc2515b1b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialLoansAtFairValueMember_dd0c43df-d140-4bc4-96fd-9e7177ab4755" xlink:href="rwt-20240930.xsd#rwt_ResidentialLoansAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_c33727f2-d539-4917-ac8f-53e7af130b9e" xlink:to="loc_rwt_ResidentialLoansAtFairValueMember_dd0c43df-d140-4bc4-96fd-9e7177ab4755" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_08941af5-0546-4c30-b513-18f1d270d87b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_f0addf20-c1fe-4305-a0b3-15d653ce8e3f" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_08941af5-0546-4c30-b513-18f1d270d87b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_08941af5-0546-4c30-b513-18f1d270d87b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_08941af5-0546-4c30-b513-18f1d270d87b" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_08941af5-0546-4c30-b513-18f1d270d87b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_0c0df6c3-8dac-48a0-a666-40a0e72cbde3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_08941af5-0546-4c30-b513-18f1d270d87b" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_0c0df6c3-8dac-48a0-a666-40a0e72cbde3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_f7c23858-f07e-4b3b-bcd8-1002c13a080e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_0c0df6c3-8dac-48a0-a666-40a0e72cbde3" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_f7c23858-f07e-4b3b-bcd8-1002c13a080e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_f4f87eb8-8ae3-4d74-b4c6-7b59d4da9409" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_cdb5cb04-35e6-401f-9846-82c6086e0ed9" xlink:to="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_f4f87eb8-8ae3-4d74-b4c6-7b59d4da9409" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_f8ab0fb6-f61a-4654-97aa-daffbe0475e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_cdb5cb04-35e6-401f-9846-82c6086e0ed9" xlink:to="loc_us-gaap_NotesReceivableNet_f8ab0fb6-f61a-4654-97aa-daffbe0475e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_3f563345-87b3-4873-8ece-bcd708e9ea7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_cdb5cb04-35e6-401f-9846-82c6086e0ed9" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_3f563345-87b3-4873-8ece-bcd708e9ea7c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansHeldForSaleWeightedAverageCouponRate_2e03734d-34d1-4ecb-afe9-2878b96856dd" xlink:href="rwt-20240930.xsd#rwt_LoansHeldForSaleWeightedAverageCouponRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_cdb5cb04-35e6-401f-9846-82c6086e0ed9" xlink:to="loc_rwt_LoansHeldForSaleWeightedAverageCouponRate_2e03734d-34d1-4ecb-afe9-2878b96856dd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancingReceivableNumberOfLoansInForeclosure_39319ce3-01aa-40b6-93ea-3f4ddb0c0b9c" xlink:href="rwt-20240930.xsd#rwt_FinancingReceivableNumberOfLoansInForeclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_cdb5cb04-35e6-401f-9846-82c6086e0ed9" xlink:to="loc_rwt_FinancingReceivableNumberOfLoansInForeclosure_39319ce3-01aa-40b6-93ea-3f4ddb0c0b9c" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofQuarterlyActivityofResidentialConsumerLoansHeldforSaleDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialConsumerLoansScheduleofQuarterlyActivityofResidentialConsumerLoansHeldforSaleDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofQuarterlyActivityofResidentialConsumerLoansHeldforSaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_45ea64ea-6d33-405b-a78a-6f20c9cdb368" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_8c209bce-ce4b-47ac-a307-84ba9bfb0853" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_45ea64ea-6d33-405b-a78a-6f20c9cdb368" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_8c209bce-ce4b-47ac-a307-84ba9bfb0853" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d169296a-93a6-4721-998e-a838eef64964" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_8c209bce-ce4b-47ac-a307-84ba9bfb0853" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d169296a-93a6-4721-998e-a838eef64964" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_d169296a-93a6-4721-998e-a838eef64964_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d169296a-93a6-4721-998e-a838eef64964" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_d169296a-93a6-4721-998e-a838eef64964_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2168d930-8ed2-4ca6-9d64-a5ad46538c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_d169296a-93a6-4721-998e-a838eef64964" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2168d930-8ed2-4ca6-9d64-a5ad46538c7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansAtFairValueMember_25a383b8-b005-460f-9996-ef0b7337a613" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_2168d930-8ed2-4ca6-9d64-a5ad46538c7d" xlink:to="loc_rwt_ResidentialConsumerLoansAtFairValueMember_25a383b8-b005-460f-9996-ef0b7337a613" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PrincipalBalanceOfLoansAcquiredDuringPeriod_52fd025f-6f5a-4dce-9d2e-c39d4bfcaf7a" xlink:href="rwt-20240930.xsd#rwt_PrincipalBalanceOfLoansAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_45ea64ea-6d33-405b-a78a-6f20c9cdb368" xlink:to="loc_rwt_PrincipalBalanceOfLoansAcquiredDuringPeriod_52fd025f-6f5a-4dce-9d2e-c39d4bfcaf7a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PrincipalBalanceofLoansSoldDuringPeriod_b875586a-4b7e-4c70-a837-0baeb1f6fb4b" xlink:href="rwt-20240930.xsd#rwt_PrincipalBalanceofLoansSoldDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_45ea64ea-6d33-405b-a78a-6f20c9cdb368" xlink:to="loc_rwt_PrincipalBalanceofLoansSoldDuringPeriod_b875586a-4b7e-4c70-a837-0baeb1f6fb4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PrincipalBalanceOfLoansTransferredToHeldForInvestment_0d3c5e0a-179e-4858-8b47-1ab45d497bd8" xlink:href="rwt-20240930.xsd#rwt_PrincipalBalanceOfLoansTransferredToHeldForInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_45ea64ea-6d33-405b-a78a-6f20c9cdb368" xlink:to="loc_rwt_PrincipalBalanceOfLoansTransferredToHeldForInvestment_0d3c5e0a-179e-4858-8b47-1ab45d497bd8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_5c98bdc9-ab0d-411f-9736-2181da921868" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_45ea64ea-6d33-405b-a78a-6f20c9cdb368" xlink:to="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1_5c98bdc9-ab0d-411f-9736-2181da921868" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofCharacteristicsofResidentialConsumerLoansHeldforInvestmentDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialConsumerLoansScheduleofCharacteristicsofResidentialConsumerLoansHeldforInvestmentDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofCharacteristicsofResidentialConsumerLoansHeldforInvestmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_edcf8d9b-b919-43b2-953c-4d99963b9622" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_edcf8d9b-b919-43b2-953c-4d99963b9622" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1cd7b4ee-8aee-4d0c-874d-8571ece5f4d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_edcf8d9b-b919-43b2-953c-4d99963b9622" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1cd7b4ee-8aee-4d0c-874d-8571ece5f4d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1cd7b4ee-8aee-4d0c-874d-8571ece5f4d2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1cd7b4ee-8aee-4d0c-874d-8571ece5f4d2" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_1cd7b4ee-8aee-4d0c-874d-8571ece5f4d2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_afa82da3-4760-46fa-8d29-e64b67076a30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_1cd7b4ee-8aee-4d0c-874d-8571ece5f4d2" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_afa82da3-4760-46fa-8d29-e64b67076a30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember_4e8eaff5-57ff-4dce-80fa-c7194cfe6aa0" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_afa82da3-4760-46fa-8d29-e64b67076a30" xlink:to="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember_4e8eaff5-57ff-4dce-80fa-c7194cfe6aa0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_c33f0465-8950-4a3e-bd2e-59ec85168a61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_edcf8d9b-b919-43b2-953c-4d99963b9622" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_c33f0465-8950-4a3e-bd2e-59ec85168a61" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_c33f0465-8950-4a3e-bd2e-59ec85168a61_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_c33f0465-8950-4a3e-bd2e-59ec85168a61" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_c33f0465-8950-4a3e-bd2e-59ec85168a61_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_96cbca90-6a8b-4375-acbb-0bccd75f81f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_c33f0465-8950-4a3e-bd2e-59ec85168a61" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_96cbca90-6a8b-4375-acbb-0bccd75f81f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_1f0c51f8-7551-40ce-a713-4878ca34fbe6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_96cbca90-6a8b-4375-acbb-0bccd75f81f2" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_1f0c51f8-7551-40ce-a713-4878ca34fbe6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_7007fa92-202b-4223-a85a-47ec63119a57" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_edcf8d9b-b919-43b2-953c-4d99963b9622" xlink:to="loc_srt_ConsolidatedEntitiesAxis_7007fa92-202b-4223-a85a-47ec63119a57" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_7007fa92-202b-4223-a85a-47ec63119a57_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_7007fa92-202b-4223-a85a-47ec63119a57" xlink:to="loc_srt_ConsolidatedEntitiesDomain_7007fa92-202b-4223-a85a-47ec63119a57_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_3e97ddcd-b339-4095-b1dc-b9b936d4e1e4" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_7007fa92-202b-4223-a85a-47ec63119a57" xlink:to="loc_srt_ConsolidatedEntitiesDomain_3e97ddcd-b339-4095-b1dc-b9b936d4e1e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_26e8dbae-6901-462f-96fe-9828ddaa71a4" xlink:href="rwt-20240930.xsd#rwt_SequoiaChoiceSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_3e97ddcd-b339-4095-b1dc-b9b936d4e1e4" xlink:to="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_26e8dbae-6901-462f-96fe-9828ddaa71a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_6a2bbb62-3735-4571-8b87-cb7b7580b35e" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_3e97ddcd-b339-4095-b1dc-b9b936d4e1e4" xlink:to="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_6a2bbb62-3735-4571-8b87-cb7b7580b35e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_3b8e5d16-6623-470f-a710-16b798509456" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_3b8e5d16-6623-470f-a710-16b798509456" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansHeldForInvestmentAverageLoanBalanceUPB_7c724033-a462-4890-b4d5-107ae9e8ee4c" xlink:href="rwt-20240930.xsd#rwt_LoansHeldForInvestmentAverageLoanBalanceUPB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_rwt_LoansHeldForInvestmentAverageLoanBalanceUPB_7c724033-a462-4890-b4d5-107ae9e8ee4c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_070b7202-8869-4fa9-81df-4cc384505799" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_us-gaap_NotesReceivableNet_070b7202-8869-4fa9-81df-4cc384505799" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansHeldForInvestmentWeightedAverageCouponRate_8046468a-aed4-472a-9076-86fcc2013c71" xlink:href="rwt-20240930.xsd#rwt_LoansHeldForInvestmentWeightedAverageCouponRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_rwt_LoansHeldForInvestmentWeightedAverageCouponRate_8046468a-aed4-472a-9076-86fcc2013c71" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue_14413eb5-865b-4098-96e6-2f80c3c848eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue_14413eb5-865b-4098-96e6-2f80c3c848eb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDueAggregateDifference_8a30a07b-1a2c-4560-9761-a8061cd762dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDueAggregateDifference"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDueAggregateDifference_8a30a07b-1a2c-4560-9761-a8061cd762dd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueOptionLoansHeldAsAssetsAggregateAmountInForeclosure_dd8eee15-7a38-40a4-adf7-0af8dfe7a5f4" xlink:href="rwt-20240930.xsd#rwt_FairValueOptionLoansHeldAsAssetsAggregateAmountInForeclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_rwt_FairValueOptionLoansHeldAsAssetsAggregateAmountInForeclosure_dd8eee15-7a38-40a4-adf7-0af8dfe7a5f4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueOptionLoansHeldAsAssetsAverageForeclosureBalance_34edf2cf-e435-4618-b941-f796b63dbfee" xlink:href="rwt-20240930.xsd#rwt_FairValueOptionLoansHeldAsAssetsAverageForeclosureBalance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_6703e907-f029-497d-9244-9aca0580c032" xlink:to="loc_rwt_FairValueOptionLoansHeldAsAssetsAverageForeclosureBalance_34edf2cf-e435-4618-b941-f796b63dbfee" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofQuarterlyActivityofResidentialConsumerLoansHeldforInvestmentDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialConsumerLoansScheduleofQuarterlyActivityofResidentialConsumerLoansHeldforInvestmentDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialConsumerLoansScheduleofQuarterlyActivityofResidentialConsumerLoansHeldforInvestmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_91ce16a0-f8bf-4b35-aa9e-bbdc53283f1d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_840ef9ac-910d-4d64-b884-e70e64b3ef55" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_91ce16a0-f8bf-4b35-aa9e-bbdc53283f1d" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_840ef9ac-910d-4d64-b884-e70e64b3ef55" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_dff8193b-498f-4edd-a1a3-956eea9ef839" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_840ef9ac-910d-4d64-b884-e70e64b3ef55" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_dff8193b-498f-4edd-a1a3-956eea9ef839" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_dff8193b-498f-4edd-a1a3-956eea9ef839_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_dff8193b-498f-4edd-a1a3-956eea9ef839" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_dff8193b-498f-4edd-a1a3-956eea9ef839_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3db45225-3f36-4008-86fe-54b8cc4d7915" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_dff8193b-498f-4edd-a1a3-956eea9ef839" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3db45225-3f36-4008-86fe-54b8cc4d7915" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember_062eb671-f651-43b5-91e5-135657befe62" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_3db45225-3f36-4008-86fe-54b8cc4d7915" xlink:to="loc_rwt_ResidentialConsumerLoansHeldForInvestmentAtFairValueMember_062eb671-f651-43b5-91e5-135657befe62" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_10a247c6-e164-4282-85b4-ab5e56014cf7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_840ef9ac-910d-4d64-b884-e70e64b3ef55" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_10a247c6-e164-4282-85b4-ab5e56014cf7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_10a247c6-e164-4282-85b4-ab5e56014cf7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_10a247c6-e164-4282-85b4-ab5e56014cf7" xlink:to="loc_us-gaap_RelatedPartyDomain_10a247c6-e164-4282-85b4-ab5e56014cf7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_a86dca64-5e60-4c74-b18a-8d14030d8608" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_10a247c6-e164-4282-85b4-ab5e56014cf7" xlink:to="loc_us-gaap_RelatedPartyDomain_a86dca64-5e60-4c74-b18a-8d14030d8608" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_b75669e1-befb-4804-8619-44f7f47ee734" xlink:href="rwt-20240930.xsd#rwt_SequoiaChoiceSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_a86dca64-5e60-4c74-b18a-8d14030d8608" xlink:to="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_b75669e1-befb-4804-8619-44f7f47ee734" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_8da285e8-fcd4-4254-ae7d-cd9d01a68177" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_840ef9ac-910d-4d64-b884-e70e64b3ef55" xlink:to="loc_srt_ConsolidatedEntitiesAxis_8da285e8-fcd4-4254-ae7d-cd9d01a68177" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_8da285e8-fcd4-4254-ae7d-cd9d01a68177_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8da285e8-fcd4-4254-ae7d-cd9d01a68177" xlink:to="loc_srt_ConsolidatedEntitiesDomain_8da285e8-fcd4-4254-ae7d-cd9d01a68177_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_cb807c20-2264-46ca-a1ec-90b88f1649fc" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_8da285e8-fcd4-4254-ae7d-cd9d01a68177" xlink:to="loc_srt_ConsolidatedEntitiesDomain_cb807c20-2264-46ca-a1ec-90b88f1649fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_8223857f-ffc6-480e-9d22-44bcfcc57786" xlink:href="rwt-20240930.xsd#rwt_SequoiaChoiceSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_cb807c20-2264-46ca-a1ec-90b88f1649fc" xlink:to="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_8223857f-ffc6-480e-9d22-44bcfcc57786" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_98365f91-9847-455e-9fe3-2f1fd84729b3" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_cb807c20-2264-46ca-a1ec-90b88f1649fc" xlink:to="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_98365f91-9847-455e-9fe3-2f1fd84729b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferOfLoansHeldForSaleToPortfolioLoans1_caca50e9-1fe5-46e7-97ed-8cae58be6802" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransferOfLoansHeldForSaleToPortfolioLoans1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_91ce16a0-f8bf-4b35-aa9e-bbdc53283f1d" xlink:to="loc_us-gaap_TransferOfLoansHeldForSaleToPortfolioLoans1_caca50e9-1fe5-46e7-97ed-8cae58be6802" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansOnRealEstatePeriodIncreaseDecrease_608cf89d-cf9b-4c8a-9157-ee12c49ffca4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MortgageLoansOnRealEstatePeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_91ce16a0-f8bf-4b35-aa9e-bbdc53283f1d" xlink:to="loc_us-gaap_MortgageLoansOnRealEstatePeriodIncreaseDecrease_608cf89d-cf9b-4c8a-9157-ee12c49ffca4" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialInvestorLoansClassificationsandCarryingValuesofResidentialInvestorLoansDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialInvestorLoansClassificationsandCarryingValuesofResidentialInvestorLoansDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialInvestorLoansClassificationsandCarryingValuesofResidentialInvestorLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_f9f5e142-aad5-407f-92b3-7314fd44d992" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c306ff09-e3fa-4971-a8d6-5712074ce2bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_f9f5e142-aad5-407f-92b3-7314fd44d992" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c306ff09-e3fa-4971-a8d6-5712074ce2bf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_e6e76c1e-6c9c-45e1-8501-c1cf2b76bdf3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c306ff09-e3fa-4971-a8d6-5712074ce2bf" xlink:to="loc_us-gaap_FinancialInstrumentAxis_e6e76c1e-6c9c-45e1-8501-c1cf2b76bdf3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e6e76c1e-6c9c-45e1-8501-c1cf2b76bdf3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e6e76c1e-6c9c-45e1-8501-c1cf2b76bdf3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_e6e76c1e-6c9c-45e1-8501-c1cf2b76bdf3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f52c67c1-a98b-4905-bda3-4f06e1a5c20c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_e6e76c1e-6c9c-45e1-8501-c1cf2b76bdf3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f52c67c1-a98b-4905-bda3-4f06e1a5c20c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansHeldForSaleAtFairValueMember_a3b57f6c-1f35-498b-941e-f8f0bde5f0db" xlink:href="rwt-20240930.xsd#rwt_LoansHeldForSaleAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f52c67c1-a98b-4905-bda3-4f06e1a5c20c" xlink:to="loc_rwt_LoansHeldForSaleAtFairValueMember_a3b57f6c-1f35-498b-941e-f8f0bde5f0db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansHeldForInvestmentAtFairValueMember_803fd4d1-d9fc-405f-b258-9de823902d16" xlink:href="rwt-20240930.xsd#rwt_LoansHeldForInvestmentAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f52c67c1-a98b-4905-bda3-4f06e1a5c20c" xlink:to="loc_rwt_LoansHeldForInvestmentAtFairValueMember_803fd4d1-d9fc-405f-b258-9de823902d16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansMember_0dd509b0-c9a2-4f05-8fc0-76740b6594e9" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f52c67c1-a98b-4905-bda3-4f06e1a5c20c" xlink:to="loc_rwt_ResidentialInvestorLoansMember_0dd509b0-c9a2-4f05-8fc0-76740b6594e9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_29fd4476-fb2d-4639-aa9e-f74c75da3d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c306ff09-e3fa-4971-a8d6-5712074ce2bf" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_29fd4476-fb2d-4639-aa9e-f74c75da3d7a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_29fd4476-fb2d-4639-aa9e-f74c75da3d7a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_29fd4476-fb2d-4639-aa9e-f74c75da3d7a" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_29fd4476-fb2d-4639-aa9e-f74c75da3d7a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_92618bf9-4915-4643-beea-d2a8a12bec3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_29fd4476-fb2d-4639-aa9e-f74c75da3d7a" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_92618bf9-4915-4643-beea-d2a8a12bec3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansTermLoansMember_cd6412dc-9c02-414f-a2b7-f18eaaa11e63" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansTermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_92618bf9-4915-4643-beea-d2a8a12bec3e" xlink:to="loc_rwt_ResidentialInvestorLoansTermLoansMember_cd6412dc-9c02-414f-a2b7-f18eaaa11e63" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorBridgeLoansMember_012a4c16-487d-46f1-9a38-d711195a52fe" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorBridgeLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_92618bf9-4915-4643-beea-d2a8a12bec3e" xlink:to="loc_rwt_ResidentialInvestorBridgeLoansMember_012a4c16-487d-46f1-9a38-d711195a52fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_3f7821c1-3c90-44f7-ba07-240c30b3af19" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c306ff09-e3fa-4971-a8d6-5712074ce2bf" xlink:to="loc_dei_LegalEntityAxis_3f7821c1-3c90-44f7-ba07-240c30b3af19" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_3f7821c1-3c90-44f7-ba07-240c30b3af19_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_3f7821c1-3c90-44f7-ba07-240c30b3af19" xlink:to="loc_dei_EntityDomain_3f7821c1-3c90-44f7-ba07-240c30b3af19_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_00f16b70-9531-4e60-881a-9425497d4a10" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_3f7821c1-3c90-44f7-ba07-240c30b3af19" xlink:to="loc_dei_EntityDomain_00f16b70-9531-4e60-881a-9425497d4a10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RedwoodTrustInc.Member_2d60a5fa-c527-43c8-a631-9780dd6643ff" xlink:href="rwt-20240930.xsd#rwt_RedwoodTrustInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_00f16b70-9531-4e60-881a-9425497d4a10" xlink:to="loc_rwt_RedwoodTrustInc.Member_2d60a5fa-c527-43c8-a631-9780dd6643ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CoreVestAmericanFinanceLenderLLCMember_6ebda525-fbcd-401c-b3fa-ae8cf3cf4ce2" xlink:href="rwt-20240930.xsd#rwt_CoreVestAmericanFinanceLenderLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_00f16b70-9531-4e60-881a-9425497d4a10" xlink:to="loc_rwt_CoreVestAmericanFinanceLenderLLCMember_6ebda525-fbcd-401c-b3fa-ae8cf3cf4ce2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_64aee82b-d6d1-475f-8fa0-db5d9722ea16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_f9f5e142-aad5-407f-92b3-7314fd44d992" xlink:to="loc_us-gaap_NotesReceivableNet_64aee82b-d6d1-475f-8fa0-db5d9722ea16" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialInvestorLoansAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialInvestorLoansAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialInvestorLoansAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancialInstrumentTermOfLoanAxis_0b37fd0c-04a8-44bc-841a-f2bcf049db5c" xlink:href="rwt-20240930.xsd#rwt_FinancialInstrumentTermOfLoanAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_rwt_FinancialInstrumentTermOfLoanAxis_0b37fd0c-04a8-44bc-841a-f2bcf049db5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancialInstrumentTermOfLoanDomain_0b37fd0c-04a8-44bc-841a-f2bcf049db5c_default" xlink:href="rwt-20240930.xsd#rwt_FinancialInstrumentTermOfLoanDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rwt_FinancialInstrumentTermOfLoanAxis_0b37fd0c-04a8-44bc-841a-f2bcf049db5c" xlink:to="loc_rwt_FinancialInstrumentTermOfLoanDomain_0b37fd0c-04a8-44bc-841a-f2bcf049db5c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancialInstrumentTermOfLoanDomain_4a40e17c-cca9-4719-af1b-fc4a74364557" xlink:href="rwt-20240930.xsd#rwt_FinancialInstrumentTermOfLoanDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rwt_FinancialInstrumentTermOfLoanAxis_0b37fd0c-04a8-44bc-841a-f2bcf049db5c" xlink:to="loc_rwt_FinancialInstrumentTermOfLoanDomain_4a40e17c-cca9-4719-af1b-fc4a74364557" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancialInstrumentTermOneMember_106c01cd-1a5e-46ad-b31a-a6682508b5bc" xlink:href="rwt-20240930.xsd#rwt_FinancialInstrumentTermOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_FinancialInstrumentTermOfLoanDomain_4a40e17c-cca9-4719-af1b-fc4a74364557" xlink:to="loc_rwt_FinancialInstrumentTermOneMember_106c01cd-1a5e-46ad-b31a-a6682508b5bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancialInstrumentTermTwoMember_81e81452-0cb9-41e2-ad7b-a7b8ae31eb42" xlink:href="rwt-20240930.xsd#rwt_FinancialInstrumentTermTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_FinancialInstrumentTermOfLoanDomain_4a40e17c-cca9-4719-af1b-fc4a74364557" xlink:to="loc_rwt_FinancialInstrumentTermTwoMember_81e81452-0cb9-41e2-ad7b-a7b8ae31eb42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancialInstrumentTermThreeMember_5d9a296f-49cd-4e47-b9f9-f0379ba53e5d" xlink:href="rwt-20240930.xsd#rwt_FinancialInstrumentTermThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_FinancialInstrumentTermOfLoanDomain_4a40e17c-cca9-4719-af1b-fc4a74364557" xlink:to="loc_rwt_FinancialInstrumentTermThreeMember_5d9a296f-49cd-4e47-b9f9-f0379ba53e5d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancialInstrumentTermFourMember_42f523ba-998a-495c-b04b-08f2cd2b0979" xlink:href="rwt-20240930.xsd#rwt_FinancialInstrumentTermFourMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_FinancialInstrumentTermOfLoanDomain_4a40e17c-cca9-4719-af1b-fc4a74364557" xlink:to="loc_rwt_FinancialInstrumentTermFourMember_42f523ba-998a-495c-b04b-08f2cd2b0979" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_ac64b136-7e61-463f-8468-5dcdf62d3b17" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_us-gaap_FinancialInstrumentAxis_ac64b136-7e61-463f-8468-5dcdf62d3b17" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ac64b136-7e61-463f-8468-5dcdf62d3b17_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ac64b136-7e61-463f-8468-5dcdf62d3b17" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ac64b136-7e61-463f-8468-5dcdf62d3b17_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_13db3fc5-ff69-4688-81af-c9916d288d84" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ac64b136-7e61-463f-8468-5dcdf62d3b17" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_13db3fc5-ff69-4688-81af-c9916d288d84" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorTermLoansMember_b9bb6f68-425e-43a4-863c-07116974975c" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorTermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_13db3fc5-ff69-4688-81af-c9916d288d84" xlink:to="loc_rwt_ResidentialInvestorTermLoansMember_b9bb6f68-425e-43a4-863c-07116974975c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansMember_ec92dfe6-397f-4e86-be2f-2c042099bd16" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_13db3fc5-ff69-4688-81af-c9916d288d84" xlink:to="loc_rwt_BridgeLoansMember_ec92dfe6-397f-4e86-be2f-2c042099bd16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorBridgeLoansMember_6d32273b-3150-41e0-bf20-ddce2ddd6229" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorBridgeLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_13db3fc5-ff69-4688-81af-c9916d288d84" xlink:to="loc_rwt_ResidentialInvestorBridgeLoansMember_6d32273b-3150-41e0-bf20-ddce2ddd6229" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_922a4aff-a146-42ad-a842-13e1df0ebfef" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_srt_RangeAxis_922a4aff-a146-42ad-a842-13e1df0ebfef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_922a4aff-a146-42ad-a842-13e1df0ebfef_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_922a4aff-a146-42ad-a842-13e1df0ebfef" xlink:to="loc_srt_RangeMember_922a4aff-a146-42ad-a842-13e1df0ebfef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0b2996ef-869e-4652-be13-78832d9dfc76" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_922a4aff-a146-42ad-a842-13e1df0ebfef" xlink:to="loc_srt_RangeMember_0b2996ef-869e-4652-be13-78832d9dfc76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_61a07268-c969-485e-ad7a-24ef1555ed69" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0b2996ef-869e-4652-be13-78832d9dfc76" xlink:to="loc_srt_MinimumMember_61a07268-c969-485e-ad7a-24ef1555ed69" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d07c7cd0-49dc-49ad-86b4-97c3f0e959bd" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0b2996ef-869e-4652-be13-78832d9dfc76" xlink:to="loc_srt_MaximumMember_d07c7cd0-49dc-49ad-86b4-97c3f0e959bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_6dbabb16-121e-48f5-89ce-f70d93c30795" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_us-gaap_VariableRateAxis_6dbabb16-121e-48f5-89ce-f70d93c30795" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_6dbabb16-121e-48f5-89ce-f70d93c30795_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_6dbabb16-121e-48f5-89ce-f70d93c30795" xlink:to="loc_us-gaap_VariableRateDomain_6dbabb16-121e-48f5-89ce-f70d93c30795_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_e597312e-b6d2-43a4-9150-15dc428bac8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_6dbabb16-121e-48f5-89ce-f70d93c30795" xlink:to="loc_us-gaap_VariableRateDomain_e597312e-b6d2-43a4-9150-15dc428bac8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_6aa72dff-fc85-474c-a361-2b1f60181c47" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e597312e-b6d2-43a4-9150-15dc428bac8a" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_6aa72dff-fc85-474c-a361-2b1f60181c47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FixedRateMember_7182a621-92cf-4c6e-9cc1-28716913271c" xlink:href="rwt-20240930.xsd#rwt_FixedRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e597312e-b6d2-43a4-9150-15dc428bac8a" xlink:to="loc_rwt_FixedRateMember_7182a621-92cf-4c6e-9cc1-28716913271c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsAxis_4738d8b6-e3d5-4ce6-922b-3163e6dcf2f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_us-gaap_OtherCommitmentsAxis_4738d8b6-e3d5-4ce6-922b-3163e6dcf2f2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_4738d8b6-e3d5-4ce6-922b-3163e6dcf2f2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_4738d8b6-e3d5-4ce6-922b-3163e6dcf2f2" xlink:to="loc_us-gaap_OtherCommitmentsDomain_4738d8b6-e3d5-4ce6-922b-3163e6dcf2f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_95ba3407-9c77-4013-93b4-723c287bda6d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_4738d8b6-e3d5-4ce6-922b-3163e6dcf2f2" xlink:to="loc_us-gaap_OtherCommitmentsDomain_95ba3407-9c77-4013-93b4-723c287bda6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CommitmentToFundResidentialInvestorBridgeLoanMember_0d8a827a-f191-420d-81a5-ace3ce459fbf" xlink:href="rwt-20240930.xsd#rwt_CommitmentToFundResidentialInvestorBridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_95ba3407-9c77-4013-93b4-723c287bda6d" xlink:to="loc_rwt_CommitmentToFundResidentialInvestorBridgeLoanMember_0d8a827a-f191-420d-81a5-ace3ce459fbf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_c45cb9c4-714e-4b60-8e72-6a4a0f260072" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_c45cb9c4-714e-4b60-8e72-6a4a0f260072" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_c45cb9c4-714e-4b60-8e72-6a4a0f260072_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_c45cb9c4-714e-4b60-8e72-6a4a0f260072" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_c45cb9c4-714e-4b60-8e72-6a4a0f260072_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_fafa850f-ee33-4bd4-96fa-2f5316a18765" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_c45cb9c4-714e-4b60-8e72-6a4a0f260072" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_fafa850f-ee33-4bd4-96fa-2f5316a18765" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_9aba7095-6249-4d80-95b9-e092e6d03e3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_fafa850f-ee33-4bd4-96fa-2f5316a18765" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_9aba7095-6249-4d80-95b9-e092e6d03e3d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_b56db845-a7c0-4c15-9392-2763c376409a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_9aba7095-6249-4d80-95b9-e092e6d03e3d" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_b56db845-a7c0-4c15-9392-2763c376409a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis_0806c820-e878-4148-9114-c30ff60403e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoanRestructuringModificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_us-gaap_LoanRestructuringModificationAxis_0806c820-e878-4148-9114-c30ff60403e8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_0806c820-e878-4148-9114-c30ff60403e8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_0806c820-e878-4148-9114-c30ff60403e8" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_0806c820-e878-4148-9114-c30ff60403e8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain_d7b48531-a38a-4ffe-ad17-58b4d1005750" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis_0806c820-e878-4148-9114-c30ff60403e8" xlink:to="loc_us-gaap_LoanRestructuringModificationDomain_d7b48531-a38a-4ffe-ad17-58b4d1005750" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentDeferralMember_9a9ad9f2-ecd4-472c-8fc8-aa4cc801f0fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentDeferralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_d7b48531-a38a-4ffe-ad17-58b4d1005750" xlink:to="loc_us-gaap_PaymentDeferralMember_9a9ad9f2-ecd4-472c-8fc8-aa4cc801f0fb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateBelowMarketReductionMember_33c0455b-6368-4a17-99ea-908481fa6284" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateBelowMarketReductionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain_d7b48531-a38a-4ffe-ad17-58b4d1005750" xlink:to="loc_us-gaap_InterestRateBelowMarketReductionMember_33c0455b-6368-4a17-99ea-908481fa6284" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_fdea5aa3-daa7-4868-b693-b10f716fd885" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_92b2c500-6d18-4582-a1a5-a56dd3854ba9" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_fdea5aa3-daa7-4868-b693-b10f716fd885" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_fdea5aa3-daa7-4868-b693-b10f716fd885_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_fdea5aa3-daa7-4868-b693-b10f716fd885" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_fdea5aa3-daa7-4868-b693-b10f716fd885_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_6f4c3798-e980-4733-9beb-e5aa8a3efc61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_fdea5aa3-daa7-4868-b693-b10f716fd885" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_6f4c3798-e980-4733-9beb-e5aa8a3efc61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancingReceivablesLessThan90DaysPastDueMember_820374e0-9342-4e19-8379-cdd59801804e" xlink:href="rwt-20240930.xsd#rwt_FinancingReceivablesLessThan90DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_6f4c3798-e980-4733-9beb-e5aa8a3efc61" xlink:to="loc_rwt_FinancingReceivablesLessThan90DaysPastDueMember_820374e0-9342-4e19-8379-cdd59801804e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancingReceivableTerm_e490a7af-f66e-4f8e-b80f-619cf1db6e4a" xlink:href="rwt-20240930.xsd#rwt_FinancingReceivableTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_rwt_FinancingReceivableTerm_e490a7af-f66e-4f8e-b80f-619cf1db6e4a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealEstateOwnedHeldForInvestmentOriginalMaturityTerm_ff872c3c-f834-463c-a678-63778353f105" xlink:href="rwt-20240930.xsd#rwt_RealEstateOwnedHeldForInvestmentOriginalMaturityTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_rwt_RealEstateOwnedHeldForInvestmentOriginalMaturityTerm_ff872c3c-f834-463c-a678-63778353f105" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealEstateOwnedHeldForInvestmentOriginalMaturityVariableRate_de52ecb4-797c-4b50-b011-746cb59fdbc4" xlink:href="rwt-20240930.xsd#rwt_RealEstateOwnedHeldForInvestmentOriginalMaturityVariableRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_rwt_RealEstateOwnedHeldForInvestmentOriginalMaturityVariableRate_de52ecb4-797c-4b50-b011-746cb59fdbc4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitment_318d586c-cdd8-4095-bc64-160ad19d97f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_us-gaap_OtherCommitment_318d586c-cdd8-4095-bc64-160ad19d97f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableSale_ad393c9a-b7e5-4bbe-869a-e81adb7ef52f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_us-gaap_FinancingReceivableSale_ad393c9a-b7e5-4bbe-869a-e81adb7ef52f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ProceedsFromPrincipalRepaymentsOnSecurities_48c9ec0f-5e71-4175-a8f7-268b20d9ed7b" xlink:href="rwt-20240930.xsd#rwt_ProceedsFromPrincipalRepaymentsOnSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_rwt_ProceedsFromPrincipalRepaymentsOnSecurities_48c9ec0f-5e71-4175-a8f7-268b20d9ed7b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_90125913-252f-42bb-ac15-f7eb4c3df01a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2_90125913-252f-42bb-ac15-f7eb4c3df01a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfModifiedBuildForRentLoans_aec86c38-f465-4f2f-8791-d80f4e322249" xlink:href="rwt-20240930.xsd#rwt_NumberOfModifiedBuildForRentLoans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_rwt_NumberOfModifiedBuildForRentLoans_aec86c38-f465-4f2f-8791-d80f4e322249" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_2359adb6-573d-4705-b2c2-423d8143825f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_2359adb6-573d-4705-b2c2-423d8143825f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_f16ba0b5-b37a-4680-9668-35bb2540aa62" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_us-gaap_NotesReceivableNet_f16ba0b5-b37a-4680-9668-35bb2540aa62" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_e47777c3-92fc-451f-b01e-12d0a4626395" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageTermIncreaseFromModification_e47777c3-92fc-451f-b01e-12d0a4626395" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateAfterModification_6bf698df-aced-4314-b32e-ba6efe026a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateAfterModification"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_3d5b19c3-e226-44aa-9fdf-f397d11e1810" xlink:to="loc_us-gaap_FinancingReceivableModifiedWeightedAverageInterestRateAfterModification_6bf698df-aced-4314-b32e-ba6efe026a6d" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialInvestorLoansActivityandCharacteristicsofResidentialInvestorLoansDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialInvestorLoansActivityandCharacteristicsofResidentialInvestorLoansDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialInvestorLoansActivityandCharacteristicsofResidentialInvestorLoansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateScheduleTable_0c218257-dadc-4418-ae66-16ee616a7a3f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MortgageLoansOnRealEstateScheduleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_srt_MortgageLoansOnRealEstateScheduleTable_0c218257-dadc-4418-ae66-16ee616a7a3f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_b04ecb4d-1e3f-4670-b8a8-04d01d8b041e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_0c218257-dadc-4418-ae66-16ee616a7a3f" xlink:to="loc_us-gaap_FinancialInstrumentAxis_b04ecb4d-1e3f-4670-b8a8-04d01d8b041e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b04ecb4d-1e3f-4670-b8a8-04d01d8b041e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_b04ecb4d-1e3f-4670-b8a8-04d01d8b041e" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_b04ecb4d-1e3f-4670-b8a8-04d01d8b041e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_b04ecb4d-1e3f-4670-b8a8-04d01d8b041e" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SingleFamilyRentalLoansHeldForSaleAtFairValueMember_bfc62ac8-6443-4786-a924-247b91f751cc" xlink:href="rwt-20240930.xsd#rwt_SingleFamilyRentalLoansHeldForSaleAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:to="loc_rwt_SingleFamilyRentalLoansHeldForSaleAtFairValueMember_bfc62ac8-6443-4786-a924-247b91f751cc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorBridgeLoansHeldForInvestmentMember_f43c281d-a06e-48bc-bdc8-85b1373a84e6" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorBridgeLoansHeldForInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:to="loc_rwt_ResidentialInvestorBridgeLoansHeldForInvestmentMember_f43c281d-a06e-48bc-bdc8-85b1373a84e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansMember_cd367b78-2b0a-40bf-b91c-40e601912348" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:to="loc_rwt_ResidentialInvestorLoansMember_cd367b78-2b0a-40bf-b91c-40e601912348" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SingleFamilyRentalLoansHeldForInvestmentAtFairValueMember_0aaa0189-f763-4715-b1f9-006490724cff" xlink:href="rwt-20240930.xsd#rwt_SingleFamilyRentalLoansHeldForInvestmentAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:to="loc_rwt_SingleFamilyRentalLoansHeldForInvestmentAtFairValueMember_0aaa0189-f763-4715-b1f9-006490724cff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansHeldForInvestmentAtFairValueMember_26d789c8-1479-4527-b891-89a981da3a65" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansHeldForInvestmentAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:to="loc_rwt_BridgeLoansHeldForInvestmentAtFairValueMember_26d789c8-1479-4527-b891-89a981da3a65" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SingleFamilyRentalLoansHeldForSaleMember_c709e0c6-0e94-4858-895b-d64d87a81a2d" xlink:href="rwt-20240930.xsd#rwt_SingleFamilyRentalLoansHeldForSaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:to="loc_rwt_SingleFamilyRentalLoansHeldForSaleMember_c709e0c6-0e94-4858-895b-d64d87a81a2d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BusinessPurposeBridgeLoansMember_4b7ce56e-5c7a-4178-82cb-31e9f29b4a8f" xlink:href="rwt-20240930.xsd#rwt_BusinessPurposeBridgeLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7b58e71b-b93a-4881-8192-c4ef4c18b522" xlink:to="loc_rwt_BusinessPurposeBridgeLoansMember_4b7ce56e-5c7a-4178-82cb-31e9f29b4a8f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_b7963e1f-6e57-4f64-b099-9de75eb33e72" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_0c218257-dadc-4418-ae66-16ee616a7a3f" xlink:to="loc_dei_LegalEntityAxis_b7963e1f-6e57-4f64-b099-9de75eb33e72" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_b7963e1f-6e57-4f64-b099-9de75eb33e72_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_b7963e1f-6e57-4f64-b099-9de75eb33e72" xlink:to="loc_dei_EntityDomain_b7963e1f-6e57-4f64-b099-9de75eb33e72_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_06f9a550-be09-41a4-9413-f69c5c067056" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_b7963e1f-6e57-4f64-b099-9de75eb33e72" xlink:to="loc_dei_EntityDomain_06f9a550-be09-41a4-9413-f69c5c067056" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RedwoodTrustInc.Member_5bce37f1-0cc8-4425-9bc6-9cba207b48ad" xlink:href="rwt-20240930.xsd#rwt_RedwoodTrustInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_06f9a550-be09-41a4-9413-f69c5c067056" xlink:to="loc_rwt_RedwoodTrustInc.Member_5bce37f1-0cc8-4425-9bc6-9cba207b48ad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesMember_4f1c12e4-219d-402f-93ca-8d19f019c5e3" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_06f9a550-be09-41a4-9413-f69c5c067056" xlink:to="loc_rwt_CAFLSecuritizationEntitiesMember_4f1c12e4-219d-402f-93ca-8d19f019c5e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_cda2c941-8a78-4b76-813e-cf3b374ae12e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_0c218257-dadc-4418-ae66-16ee616a7a3f" xlink:to="loc_us-gaap_InvestmentTypeAxis_cda2c941-8a78-4b76-813e-cf3b374ae12e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_cda2c941-8a78-4b76-813e-cf3b374ae12e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_cda2c941-8a78-4b76-813e-cf3b374ae12e" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_cda2c941-8a78-4b76-813e-cf3b374ae12e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_a6698f35-1bda-40fa-a0b1-e41e41901754" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_cda2c941-8a78-4b76-813e-cf3b374ae12e" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_a6698f35-1bda-40fa-a0b1-e41e41901754" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorMortgageBankingActivitiesMember_27bca36c-74c3-41ec-be1e-0672604ea0a1" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorMortgageBankingActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a6698f35-1bda-40fa-a0b1-e41e41901754" xlink:to="loc_rwt_ResidentialInvestorMortgageBankingActivitiesMember_27bca36c-74c3-41ec-be1e-0672604ea0a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoansPledgedAsCollateralShortTermDebtMember_29cfee32-f985-4a26-b079-52ba0a157c10" xlink:href="rwt-20240930.xsd#rwt_LoansPledgedAsCollateralShortTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a6698f35-1bda-40fa-a0b1-e41e41901754" xlink:to="loc_rwt_LoansPledgedAsCollateralShortTermDebtMember_29cfee32-f985-4a26-b079-52ba0a157c10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_11378588-8b3e-44ed-a738-6f64adfaa7eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_MortgageLoansOnRealEstateScheduleTable_0c218257-dadc-4418-ae66-16ee616a7a3f" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_11378588-8b3e-44ed-a738-6f64adfaa7eb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_11378588-8b3e-44ed-a738-6f64adfaa7eb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_11378588-8b3e-44ed-a738-6f64adfaa7eb" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_11378588-8b3e-44ed-a738-6f64adfaa7eb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_99695629-4ca6-4e3b-aaa9-5e6721c6b2ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_11378588-8b3e-44ed-a738-6f64adfaa7eb" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_99695629-4ca6-4e3b-aaa9-5e6721c6b2ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_372fa79c-402d-45b4-97b3-7649c4487c3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_99695629-4ca6-4e3b-aaa9-5e6721c6b2ce" xlink:to="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_372fa79c-402d-45b4-97b3-7649c4487c3d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToPurchaseLoansHeldForSale_f68533ab-564e-4ca4-9d3e-7d7deba56564" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToPurchaseLoansHeldForSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_us-gaap_PaymentsToPurchaseLoansHeldForSale_f68533ab-564e-4ca4-9d3e-7d7deba56564" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PrincipalBalanceOfLoansAcquiredDuringPeriod_1fb7f29f-4947-4e46-afac-30bba1d22496" xlink:href="rwt-20240930.xsd#rwt_PrincipalBalanceOfLoansAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_PrincipalBalanceOfLoansAcquiredDuringPeriod_1fb7f29f-4947-4e46-afac-30bba1d22496" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ProceedsFromPrincipalRepaymentsOnSecurities_b328856e-dc2b-43a8-80a2-47d373f520d7" xlink:href="rwt-20240930.xsd#rwt_ProceedsFromPrincipalRepaymentsOnSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_ProceedsFromPrincipalRepaymentsOnSecurities_b328856e-dc2b-43a8-80a2-47d373f520d7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanTransferFromHeldForSaleToHeldInPortfolioNetOfSubstitutions_da9bda53-03cc-4d75-9918-fe4b29d5acaf" xlink:href="rwt-20240930.xsd#rwt_LoanTransferFromHeldForSaleToHeldInPortfolioNetOfSubstitutions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_LoanTransferFromHeldForSaleToHeldInPortfolioNetOfSubstitutions_da9bda53-03cc-4d75-9918-fe4b29d5acaf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments_c51c62f9-e329-4961-a9b0-e0dfdce9e550" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_us-gaap_GainLossOnInvestments_c51c62f9-e329-4961-a9b0-e0dfdce9e550" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BusinessPurposeLoansHeldForInvestmentTransfers_d1c49004-4c15-4cde-9b52-657fb1ac5a81" xlink:href="rwt-20240930.xsd#rwt_BusinessPurposeLoansHeldForInvestmentTransfers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_BusinessPurposeLoansHeldForInvestmentTransfers_d1c49004-4c15-4cde-9b52-657fb1ac5a81" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_3f87dc4a-5339-454d-8711-82ab385982c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_us-gaap_PrincipalAmountOutstandingOnLoansManagedAndSecuritized_3f87dc4a-5339-454d-8711-82ab385982c9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanManagedAndSecuritizedOrAssetBackedFinancingArrangementPrincipalOutstandingAverage_990efd4a-75c9-4fe9-b812-502b940d2c61" xlink:href="rwt-20240930.xsd#rwt_LoanManagedAndSecuritizedOrAssetBackedFinancingArrangementPrincipalOutstandingAverage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_LoanManagedAndSecuritizedOrAssetBackedFinancingArrangementPrincipalOutstandingAverage_990efd4a-75c9-4fe9-b812-502b940d2c61" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_4d5d3f6d-81a0-4984-8eb3-1c2830e42852" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_us-gaap_NotesReceivableNet_4d5d3f6d-81a0-4984-8eb3-1c2830e42852" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancingReceivablesWeightedAverageInterestRate_c689271b-26f4-4c6d-9b17-0574d3c13059" xlink:href="rwt-20240930.xsd#rwt_FinancingReceivablesWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_FinancingReceivablesWeightedAverageInterestRate_c689271b-26f4-4c6d-9b17-0574d3c13059" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FinancingReceivableContractMaturities_bc46d188-5dba-4106-b47f-f6459e88c454" xlink:href="rwt-20240930.xsd#rwt_FinancingReceivableContractMaturities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_FinancingReceivableContractMaturities_bc46d188-5dba-4106-b47f-f6459e88c454" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue_cd4da9cd-9eb2-470b-bcde-e1f6c8810864" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue_cd4da9cd-9eb2-470b-bcde-e1f6c8810864" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDueAverage_0c3b45b9-ace3-4335-9fb9-9d0a59fe6f03" xlink:href="rwt-20240930.xsd#rwt_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDueAverage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDueAverage_0c3b45b9-ace3-4335-9fb9-9d0a59fe6f03" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FairValueOptionLoansHeldAsAssetsAggregateAmountInForeclosure_b0013ef7-a662-4f59-a495-435e309ec92f" xlink:href="rwt-20240930.xsd#rwt_FairValueOptionLoansHeldAsAssetsAggregateAmountInForeclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateLineItems_2dc387dd-1741-4964-88bb-2d2ffbcab9e7" xlink:to="loc_rwt_FairValueOptionLoansHeldAsAssetsAggregateAmountInForeclosure_b0013ef7-a662-4f59-a495-435e309ec92f" xlink:type="arc" order="13"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/ResidentialInvestorLoansScheduleunpaidprincipalbalanceofbusinesspurposeloansDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#ResidentialInvestorLoansScheduleunpaidprincipalbalanceofbusinesspurposeloansDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/ResidentialInvestorLoansScheduleunpaidprincipalbalanceofbusinesspurposeloansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_8c56f826-f7cc-4bfb-a362-d0ade0126b28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_97aaa583-3ced-46e8-83a0-7753c79a6420" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_8c56f826-f7cc-4bfb-a362-d0ade0126b28" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_97aaa583-3ced-46e8-83a0-7753c79a6420" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_40a0bb67-1a25-4a05-84f8-028fb100daa2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_97aaa583-3ced-46e8-83a0-7753c79a6420" xlink:to="loc_us-gaap_FinancialInstrumentAxis_40a0bb67-1a25-4a05-84f8-028fb100daa2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_40a0bb67-1a25-4a05-84f8-028fb100daa2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_40a0bb67-1a25-4a05-84f8-028fb100daa2" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_40a0bb67-1a25-4a05-84f8-028fb100daa2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_40a0bb67-1a25-4a05-84f8-028fb100daa2" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialTermSingleFamilyRentalMember_b914589c-ceb7-407c-b9f4-e944a70a7a9d" xlink:href="rwt-20240930.xsd#rwt_ResidentialTermSingleFamilyRentalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialTermSingleFamilyRentalMember_b914589c-ceb7-407c-b9f4-e944a70a7a9d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialTermMultifamilyMember_8ae363a8-887f-40ea-ab51-612ffba88f85" xlink:href="rwt-20240930.xsd#rwt_ResidentialTermMultifamilyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialTermMultifamilyMember_8ae363a8-887f-40ea-ab51-612ffba88f85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TermLoansSingleFamilyRentalMember_98736116-bb6d-4f5c-a5ab-c1003f41eaac" xlink:href="rwt-20240930.xsd#rwt_TermLoansSingleFamilyRentalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_TermLoansSingleFamilyRentalMember_98736116-bb6d-4f5c-a5ab-c1003f41eaac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TermLoansMultifamilyMember_562dccb6-9ade-4e50-a345-177736824bb5" xlink:href="rwt-20240930.xsd#rwt_TermLoansMultifamilyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_TermLoansMultifamilyMember_562dccb6-9ade-4e50-a345-177736824bb5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialBridgeRenovateBuildForRentMember_5765d9d5-0853-4e26-8ce5-e4995173be34" xlink:href="rwt-20240930.xsd#rwt_ResidentialBridgeRenovateBuildForRentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialBridgeRenovateBuildForRentMember_5765d9d5-0853-4e26-8ce5-e4995173be34" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansRenovateBuildForRentMember_39adb1fa-be15-497c-bfa7-4468750e0bb6" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansRenovateBuildForRentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_BridgeLoansRenovateBuildForRentMember_39adb1fa-be15-497c-bfa7-4468750e0bb6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialBridgeSingleAssetBridgeMember_82f078b2-2b88-4035-b2b4-1e727147409c" xlink:href="rwt-20240930.xsd#rwt_ResidentialBridgeSingleAssetBridgeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialBridgeSingleAssetBridgeMember_82f078b2-2b88-4035-b2b4-1e727147409c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansSingleAssetBridgeMember_f07b95bd-7966-4645-af85-93a23107c4d5" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansSingleAssetBridgeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_BridgeLoansSingleAssetBridgeMember_f07b95bd-7966-4645-af85-93a23107c4d5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialBridgeMultifamilyMember_aa62e993-51d7-4112-a9e1-a39b7debd925" xlink:href="rwt-20240930.xsd#rwt_ResidentialBridgeMultifamilyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialBridgeMultifamilyMember_aa62e993-51d7-4112-a9e1-a39b7debd925" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansMultifamilyMember_370a7450-1241-42cc-bff9-b27e5a231ecf" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansMultifamilyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_BridgeLoansMultifamilyMember_370a7450-1241-42cc-bff9-b27e5a231ecf" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialBridgeThirdPartyOriginatedMember_2a77ef33-ffaf-4397-9703-a07d3d2b1228" xlink:href="rwt-20240930.xsd#rwt_ResidentialBridgeThirdPartyOriginatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialBridgeThirdPartyOriginatedMember_2a77ef33-ffaf-4397-9703-a07d3d2b1228" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansThirdPartyOriginatedMember_edcb1ada-107f-4dbc-959b-27b27c1ff54f" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansThirdPartyOriginatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_BridgeLoansThirdPartyOriginatedMember_edcb1ada-107f-4dbc-959b-27b27c1ff54f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialTermLoansMember_f73b71ad-1060-48b9-bf61-cb6efb941a67" xlink:href="rwt-20240930.xsd#rwt_ResidentialTermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialTermLoansMember_f73b71ad-1060-48b9-bf61-cb6efb941a67" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TermLoansMember_d5966551-4298-4c1a-97be-a41b660e4d4f" xlink:href="rwt-20240930.xsd#rwt_TermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_TermLoansMember_d5966551-4298-4c1a-97be-a41b660e4d4f" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialBridgeLoansMember_da7e37c9-07b4-4dcb-aec7-541d25b126dc" xlink:href="rwt-20240930.xsd#rwt_ResidentialBridgeLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_ResidentialBridgeLoansMember_da7e37c9-07b4-4dcb-aec7-541d25b126dc" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansMember_6d588e61-418c-4853-82a5-17027abc1c7e" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_64cdeb25-27d3-406e-89b1-16d6f8a103cd" xlink:to="loc_rwt_BridgeLoansMember_6d588e61-418c-4853-82a5-17027abc1c7e" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_364fa773-aa6f-432c-8059-205897eb2312" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_97aaa583-3ced-46e8-83a0-7753c79a6420" xlink:to="loc_dei_LegalEntityAxis_364fa773-aa6f-432c-8059-205897eb2312" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_364fa773-aa6f-432c-8059-205897eb2312_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_364fa773-aa6f-432c-8059-205897eb2312" xlink:to="loc_dei_EntityDomain_364fa773-aa6f-432c-8059-205897eb2312_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_f1e8bf64-5e8b-4aea-9fb7-e55b479a8dc3" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_364fa773-aa6f-432c-8059-205897eb2312" xlink:to="loc_dei_EntityDomain_f1e8bf64-5e8b-4aea-9fb7-e55b479a8dc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RedwoodTrustInc.Member_6021e50d-fe21-4ac3-9b0b-f7e2d80cd5c0" xlink:href="rwt-20240930.xsd#rwt_RedwoodTrustInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f1e8bf64-5e8b-4aea-9fb7-e55b479a8dc3" xlink:to="loc_rwt_RedwoodTrustInc.Member_6021e50d-fe21-4ac3-9b0b-f7e2d80cd5c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CoreVestAmericanFinanceLenderLLCMember_e7bdb89e-fddf-4ab4-a4fb-495f84242cbc" xlink:href="rwt-20240930.xsd#rwt_CoreVestAmericanFinanceLenderLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_f1e8bf64-5e8b-4aea-9fb7-e55b479a8dc3" xlink:to="loc_rwt_CoreVestAmericanFinanceLenderLLCMember_e7bdb89e-fddf-4ab4-a4fb-495f84242cbc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_b46276f5-d37b-42dd-a160-cf7c6fb0b32a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_97aaa583-3ced-46e8-83a0-7753c79a6420" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_b46276f5-d37b-42dd-a160-cf7c6fb0b32a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_b46276f5-d37b-42dd-a160-cf7c6fb0b32a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_b46276f5-d37b-42dd-a160-cf7c6fb0b32a" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_b46276f5-d37b-42dd-a160-cf7c6fb0b32a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5da3ea5f-f0be-410c-965d-6b1953d14c46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_b46276f5-d37b-42dd-a160-cf7c6fb0b32a" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5da3ea5f-f0be-410c-965d-6b1953d14c46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_BridgeLoansHeldByCAFLSecuritizationEntitiesMember_36ece17a-c5c3-4d0f-b490-789d1f73172b" xlink:href="rwt-20240930.xsd#rwt_BridgeLoansHeldByCAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5da3ea5f-f0be-410c-965d-6b1953d14c46" xlink:to="loc_rwt_BridgeLoansHeldByCAFLSecuritizationEntitiesMember_36ece17a-c5c3-4d0f-b490-789d1f73172b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_a477ea72-f537-4092-95c9-17e1ee595ab0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_8c56f826-f7cc-4bfb-a362-d0ade0126b28" xlink:to="loc_us-gaap_NotesReceivableNet_a477ea72-f537-4092-95c9-17e1ee595ab0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SecuritizationEntity_4d7246b3-fa26-41c3-be22-254e3c33428e" xlink:href="rwt-20240930.xsd#rwt_SecuritizationEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_8c56f826-f7cc-4bfb-a362-d0ade0126b28" xlink:to="loc_rwt_SecuritizationEntity_4d7246b3-fa26-41c3-be22-254e3c33428e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfUnitsForLightToModerateRenovation_439c8b5c-65b9-428c-a9cb-db8afada5cc3" xlink:href="rwt-20240930.xsd#rwt_NumberOfUnitsForLightToModerateRenovation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_8c56f826-f7cc-4bfb-a362-d0ade0126b28" xlink:to="loc_rwt_NumberOfUnitsForLightToModerateRenovation_439c8b5c-65b9-428c-a9cb-db8afada5cc3" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/RealEstateSecuritiesScheduleofAvailableforSaleSecuritiesbyCollateralTypeDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#RealEstateSecuritiesScheduleofAvailableforSaleSecuritiesbyCollateralTypeDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/RealEstateSecuritiesScheduleofAvailableforSaleSecuritiesbyCollateralTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_b4a30c47-d013-47b1-984e-69c0ec0748eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_37ea14a0-ba42-41f5-9fa3-dc4a25d643a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_b4a30c47-d013-47b1-984e-69c0ec0748eb" xlink:to="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_37ea14a0-ba42-41f5-9fa3-dc4a25d643a7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_2c925a7b-320d-46ea-8c71-bdcbea2e6156" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_37ea14a0-ba42-41f5-9fa3-dc4a25d643a7" xlink:to="loc_us-gaap_FinancialInstrumentAxis_2c925a7b-320d-46ea-8c71-bdcbea2e6156" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2c925a7b-320d-46ea-8c71-bdcbea2e6156_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2c925a7b-320d-46ea-8c71-bdcbea2e6156" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2c925a7b-320d-46ea-8c71-bdcbea2e6156_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d13baed1-00d1-4926-aca2-78ff54bf1d98" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_2c925a7b-320d-46ea-8c71-bdcbea2e6156" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d13baed1-00d1-4926-aca2-78ff54bf1d98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SeniorSecuritiesMember_346d6bc0-c915-45ea-9cd8-7c5dc4a7d3f2" xlink:href="rwt-20240930.xsd#rwt_SeniorSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d13baed1-00d1-4926-aca2-78ff54bf1d98" xlink:to="loc_rwt_SeniorSecuritiesMember_346d6bc0-c915-45ea-9cd8-7c5dc4a7d3f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealEstateSecuritiesPrimeMezzanineMember_77fa4c0a-ba87-43bd-991c-40de0f66ec4b" xlink:href="rwt-20240930.xsd#rwt_RealEstateSecuritiesPrimeMezzanineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d13baed1-00d1-4926-aca2-78ff54bf1d98" xlink:to="loc_rwt_RealEstateSecuritiesPrimeMezzanineMember_77fa4c0a-ba87-43bd-991c-40de0f66ec4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SubordinateSecuritiesMember_9498c931-d19f-4e88-b3ef-286265fceec5" xlink:href="rwt-20240930.xsd#rwt_SubordinateSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_d13baed1-00d1-4926-aca2-78ff54bf1d98" xlink:to="loc_rwt_SubordinateSecuritiesMember_9498c931-d19f-4e88-b3ef-286265fceec5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_50308697-bdd3-485c-a366-648ca36d7eae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_b4a30c47-d013-47b1-984e-69c0ec0748eb" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_50308697-bdd3-485c-a366-648ca36d7eae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_66862440-e9a9-4056-9540-18c07991db69" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_b4a30c47-d013-47b1-984e-69c0ec0748eb" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_66862440-e9a9-4056-9540-18c07991db69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f1fff704-f7ec-49be-b1aa-a8ba2da7e36b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_b4a30c47-d013-47b1-984e-69c0ec0748eb" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_f1fff704-f7ec-49be-b1aa-a8ba2da7e36b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_31f69b09-b351-4228-a3e1-ea5991287fb6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_b4a30c47-d013-47b1-984e-69c0ec0748eb" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_31f69b09-b351-4228-a3e1-ea5991287fb6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a15b5278-901c-4a3e-8474-5e5082c0df45" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_b4a30c47-d013-47b1-984e-69c0ec0748eb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a15b5278-901c-4a3e-8474-5e5082c0df45" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/RealEstateSecuritiesAvailableforSaleSecuritiesbyCollateralTypeDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#RealEstateSecuritiesAvailableforSaleSecuritiesbyCollateralTypeDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/RealEstateSecuritiesAvailableforSaleSecuritiesbyCollateralTypeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_bfd6da3c-6c05-4e29-b80f-3da50ac91ced" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_c64eaf9d-ec73-46b8-9eb3-9f6eb3a0a12d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_bfd6da3c-6c05-4e29-b80f-3da50ac91ced" xlink:to="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_c64eaf9d-ec73-46b8-9eb3-9f6eb3a0a12d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_40b5532a-3190-48ad-8897-246a13e24446" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_c64eaf9d-ec73-46b8-9eb3-9f6eb3a0a12d" xlink:to="loc_us-gaap_FinancialInstrumentAxis_40b5532a-3190-48ad-8897-246a13e24446" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_40b5532a-3190-48ad-8897-246a13e24446_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_40b5532a-3190-48ad-8897-246a13e24446" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_40b5532a-3190-48ad-8897-246a13e24446_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_232e97e7-3f1a-4252-9e68-454266c43b39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_40b5532a-3190-48ad-8897-246a13e24446" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_232e97e7-3f1a-4252-9e68-454266c43b39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherThirdPartySecuritiesMember_c0747f21-5cce-4f4b-99fb-b35760ed3182" xlink:href="rwt-20240930.xsd#rwt_OtherThirdPartySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_232e97e7-3f1a-4252-9e68-454266c43b39" xlink:to="loc_rwt_OtherThirdPartySecuritiesMember_c0747f21-5cce-4f4b-99fb-b35760ed3182" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MultifamilySecuritiesMember_05a55da9-ed47-4b81-b2b6-e5f047608156" xlink:href="rwt-20240930.xsd#rwt_MultifamilySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_232e97e7-3f1a-4252-9e68-454266c43b39" xlink:to="loc_rwt_MultifamilySecuritiesMember_05a55da9-ed47-4b81-b2b6-e5f047608156" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaSecuritiesMember_843b4936-a27f-4c95-95fb-a689ea7ca7f7" xlink:href="rwt-20240930.xsd#rwt_SequoiaSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_232e97e7-3f1a-4252-9e68-454266c43b39" xlink:to="loc_rwt_SequoiaSecuritiesMember_843b4936-a27f-4c95-95fb-a689ea7ca7f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_556f7c8e-4f46-48e6-8fd7-82da94b10ed6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_c64eaf9d-ec73-46b8-9eb3-9f6eb3a0a12d" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_556f7c8e-4f46-48e6-8fd7-82da94b10ed6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_556f7c8e-4f46-48e6-8fd7-82da94b10ed6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_556f7c8e-4f46-48e6-8fd7-82da94b10ed6" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_556f7c8e-4f46-48e6-8fd7-82da94b10ed6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_ab9af3f4-25ef-42ab-a8b1-a3e29c192558" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_556f7c8e-4f46-48e6-8fd7-82da94b10ed6" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_ab9af3f4-25ef-42ab-a8b1-a3e29c192558" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorLoansMember_4c02683d-2d9a-413f-8d66-089f6b078f7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_ab9af3f4-25ef-42ab-a8b1-a3e29c192558" xlink:to="loc_us-gaap_SeniorLoansMember_4c02683d-2d9a-413f-8d66-089f6b078f7e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MezzanineDebtMember_2a4c41d6-d380-44f7-a7a9-d2da3823969d" xlink:href="rwt-20240930.xsd#rwt_MezzanineDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_ab9af3f4-25ef-42ab-a8b1-a3e29c192558" xlink:to="loc_rwt_MezzanineDebtMember_2a4c41d6-d380-44f7-a7a9-d2da3823969d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebtMember_49249fbe-d3e4-4434-8d33-0c0729d0d3a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubordinatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_ab9af3f4-25ef-42ab-a8b1-a3e29c192558" xlink:to="loc_us-gaap_SubordinatedDebtMember_49249fbe-d3e4-4434-8d33-0c0729d0d3a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_150b5e76-5057-499b-929d-4bbf6e551499" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_bfd6da3c-6c05-4e29-b80f-3da50ac91ced" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_150b5e76-5057-499b-929d-4bbf6e551499" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/RealEstateSecuritiesAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#RealEstateSecuritiesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/RealEstateSecuritiesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_e530433d-a6d6-4fb4-8a6e-9a0558ce3cf4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_e530433d-a6d6-4fb4-8a6e-9a0558ce3cf4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_cf927c2f-c36b-4382-ae52-08972a4c77b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_e530433d-a6d6-4fb4-8a6e-9a0558ce3cf4" xlink:to="loc_us-gaap_FinancialInstrumentAxis_cf927c2f-c36b-4382-ae52-08972a4c77b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cf927c2f-c36b-4382-ae52-08972a4c77b9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_cf927c2f-c36b-4382-ae52-08972a4c77b9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_cf927c2f-c36b-4382-ae52-08972a4c77b9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bd23a75b-9329-4d9e-aab3-2ee244be2ae7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_cf927c2f-c36b-4382-ae52-08972a4c77b9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bd23a75b-9329-4d9e-aab3-2ee244be2ae7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_357bcdfa-0ce2-43b2-ba81-452a63c4c22c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_bd23a75b-9329-4d9e-aab3-2ee244be2ae7" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_357bcdfa-0ce2-43b2-ba81-452a63c4c22c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_5f870a4e-529a-402b-bf47-0747cda8694a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OptionIndexedToIssuersEquityEquityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_e530433d-a6d6-4fb4-8a6e-9a0558ce3cf4" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_5f870a4e-529a-402b-bf47-0747cda8694a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_5f870a4e-529a-402b-bf47-0747cda8694a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_5f870a4e-529a-402b-bf47-0747cda8694a" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_5f870a4e-529a-402b-bf47-0747cda8694a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_ca650120-34ec-447b-a9ce-e89a58e84b89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OptionIndexedToIssuersEquityTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityEquityAxis_5f870a4e-529a-402b-bf47-0747cda8694a" xlink:to="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_ca650120-34ec-447b-a9ce-e89a58e84b89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PutOptionMember_4a7998ee-cc0a-4226-9963-7985f7486c59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PutOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OptionIndexedToIssuersEquityTypeDomain_ca650120-34ec-447b-a9ce-e89a58e84b89" xlink:to="loc_us-gaap_PutOptionMember_4a7998ee-cc0a-4226-9963-7985f7486c59" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_5988494e-ae10-4f26-a7e0-55f2219da21b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_5988494e-ae10-4f26-a7e0-55f2219da21b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_54a71d64-edd0-43a4-b775-1af69fba855a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_54a71d64-edd0-43a4-b775-1af69fba855a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_c02724e3-9714-4474-ba9c-bee41517170a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_c02724e3-9714-4474-ba9c-bee41517170a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e3422333-0cff-4a45-9c41-88ad1c5408af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e3422333-0cff-4a45-9c41-88ad1c5408af" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfAvailableForSaleSecurities_3272f6b6-7a8b-4724-995e-ec6eeb0380ea" xlink:href="rwt-20240930.xsd#rwt_NumberOfAvailableForSaleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_rwt_NumberOfAvailableForSaleSecurities_3272f6b6-7a8b-4724-995e-ec6eeb0380ea" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_a379e965-9f7b-4251-b2d5-9349c4e3d307" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_a379e965-9f7b-4251-b2d5-9349c4e3d307" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfSecuritiesContinuousUnrealizedLossPositionMoreThanTwelveMonths_5287d85d-2350-44af-a8ac-1c844489a0b4" xlink:href="rwt-20240930.xsd#rwt_NumberOfSecuritiesContinuousUnrealizedLossPositionMoreThanTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_rwt_NumberOfSecuritiesContinuousUnrealizedLossPositionMoreThanTwelveMonths_5287d85d-2350-44af-a8ac-1c844489a0b4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_3f137ed5-4367-4d76-8ea2-9ca9af5ff9fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_344d0d1e-211f-4c8d-8eb9-8cf2b0409a28" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAllowanceForCreditLoss_3f137ed5-4367-4d76-8ea2-9ca9af5ff9fb" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/RealEstateSecuritiesScheduleofComponentsofFairValueofAvailableforSaleSecuritiesbyHoldingPeriodsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#RealEstateSecuritiesScheduleofComponentsofFairValueofAvailableforSaleSecuritiesbyHoldingPeriodsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/RealEstateSecuritiesScheduleofComponentsofFairValueofAvailableforSaleSecuritiesbyHoldingPeriodsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2ca3e5fa-7cea-4ea2-a1b8-f24d91d4d9a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_dc2fc367-ba7b-4615-b802-8dedbd847b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2ca3e5fa-7cea-4ea2-a1b8-f24d91d4d9a7" xlink:to="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_dc2fc367-ba7b-4615-b802-8dedbd847b9e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_5f95ec0f-f095-45f4-88f9-e3325e61060b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_dc2fc367-ba7b-4615-b802-8dedbd847b9e" xlink:to="loc_us-gaap_FinancialInstrumentAxis_5f95ec0f-f095-45f4-88f9-e3325e61060b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5f95ec0f-f095-45f4-88f9-e3325e61060b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5f95ec0f-f095-45f4-88f9-e3325e61060b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5f95ec0f-f095-45f4-88f9-e3325e61060b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_a9002ee2-a73e-45f0-9079-73ccb3bbfe93" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_5f95ec0f-f095-45f4-88f9-e3325e61060b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_a9002ee2-a73e-45f0-9079-73ccb3bbfe93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_de6435b1-afee-4530-a336-5cf46fad0379" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_a9002ee2-a73e-45f0-9079-73ccb3bbfe93" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_de6435b1-afee-4530-a336-5cf46fad0379" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_5572ae0f-dc00-45ef-8610-34b71fcbd0dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2ca3e5fa-7cea-4ea2-a1b8-f24d91d4d9a7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_5572ae0f-dc00-45ef-8610-34b71fcbd0dc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9ef9ebeb-2668-45c3-85af-fb6316db14a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2ca3e5fa-7cea-4ea2-a1b8-f24d91d4d9a7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_9ef9ebeb-2668-45c3-85af-fb6316db14a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_acaa8067-e248-4562-a5bd-cc63e4b30873" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2ca3e5fa-7cea-4ea2-a1b8-f24d91d4d9a7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_acaa8067-e248-4562-a5bd-cc63e4b30873" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_a7c1c41f-260e-4e4f-9608-2ebbd068c330" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2ca3e5fa-7cea-4ea2-a1b8-f24d91d4d9a7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_a7c1c41f-260e-4e4f-9608-2ebbd068c330" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/HomeEquityInvestmentsHEIScheduleofHomeEquityInvestmentsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#HomeEquityInvestmentsHEIScheduleofHomeEquityInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/HomeEquityInvestmentsHEIScheduleofHomeEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_bb67c820-1518-40f4-9682-0ac120b9228a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_63919857-195d-4f99-b577-6861284ec400" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_bb67c820-1518-40f4-9682-0ac120b9228a" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_63919857-195d-4f99-b577-6861284ec400" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_d9616d85-8d49-41c5-abcf-f7bb65997e63" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_63919857-195d-4f99-b577-6861284ec400" xlink:to="loc_dei_LegalEntityAxis_d9616d85-8d49-41c5-abcf-f7bb65997e63" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_d9616d85-8d49-41c5-abcf-f7bb65997e63_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_d9616d85-8d49-41c5-abcf-f7bb65997e63" xlink:to="loc_dei_EntityDomain_d9616d85-8d49-41c5-abcf-f7bb65997e63_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_e6df649c-2dea-42dd-8b3e-4bf5dbb658a8" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_d9616d85-8d49-41c5-abcf-f7bb65997e63" xlink:to="loc_dei_EntityDomain_e6df649c-2dea-42dd-8b3e-4bf5dbb658a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RedwoodTrustInc.Member_c353562f-4831-486c-abeb-58e7c62bba64" xlink:href="rwt-20240930.xsd#rwt_RedwoodTrustInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_e6df649c-2dea-42dd-8b3e-4bf5dbb658a8" xlink:to="loc_rwt_RedwoodTrustInc.Member_c353562f-4831-486c-abeb-58e7c62bba64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PointHEIMember_f9c4b844-424e-43a1-84d2-aa7ecb6f3b39" xlink:href="rwt-20240930.xsd#rwt_PointHEIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_e6df649c-2dea-42dd-8b3e-4bf5dbb658a8" xlink:to="loc_rwt_PointHEIMember_f9c4b844-424e-43a1-84d2-aa7ecb6f3b39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestments_5e18d6a5-a601-4ac5-9ac7-5d40c013c454" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_bb67c820-1518-40f4-9682-0ac120b9228a" xlink:to="loc_rwt_HomeEquityInvestments_5e18d6a5-a601-4ac5-9ac7-5d40c013c454" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/HomeEquityInvestmentsHEIActivityofHEIDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#HomeEquityInvestmentsHEIActivityofHEIDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/HomeEquityInvestmentsHEIActivityofHEIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b7b83b3c-7854-4b1f-b47b-fdf10167b6af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_58b373ed-3f64-4c2b-9a2f-884a27253f2e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b7b83b3c-7854-4b1f-b47b-fdf10167b6af" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_58b373ed-3f64-4c2b-9a2f-884a27253f2e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_78551f3d-6d92-4cbd-a769-2099f75a2e7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_58b373ed-3f64-4c2b-9a2f-884a27253f2e" xlink:to="loc_us-gaap_InvestmentTypeAxis_78551f3d-6d92-4cbd-a769-2099f75a2e7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_78551f3d-6d92-4cbd-a769-2099f75a2e7d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_78551f3d-6d92-4cbd-a769-2099f75a2e7d" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_78551f3d-6d92-4cbd-a769-2099f75a2e7d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_bfb08045-a767-4683-8132-89041f2ac9cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_78551f3d-6d92-4cbd-a769-2099f75a2e7d" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_bfb08045-a767-4683-8132-89041f2ac9cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestmentsPurchasedAndOriginatedFairValueMember_47f98d6c-5cd7-4c42-9928-d17c8d31ffda" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestmentsPurchasedAndOriginatedFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_bfb08045-a767-4683-8132-89041f2ac9cc" xlink:to="loc_rwt_HomeEquityInvestmentsPurchasedAndOriginatedFairValueMember_47f98d6c-5cd7-4c42-9928-d17c8d31ffda" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestmentsTransferredFairValueMember_fa04c785-f0c7-4703-b797-a373f93e121b" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestmentsTransferredFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_bfb08045-a767-4683-8132-89041f2ac9cc" xlink:to="loc_rwt_HomeEquityInvestmentsTransferredFairValueMember_fa04c785-f0c7-4703-b797-a373f93e121b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_83d31f4c-9d17-4b48-92a3-c24e6fa74c5f" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_58b373ed-3f64-4c2b-9a2f-884a27253f2e" xlink:to="loc_dei_LegalEntityAxis_83d31f4c-9d17-4b48-92a3-c24e6fa74c5f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_83d31f4c-9d17-4b48-92a3-c24e6fa74c5f_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_83d31f4c-9d17-4b48-92a3-c24e6fa74c5f" xlink:to="loc_dei_EntityDomain_83d31f4c-9d17-4b48-92a3-c24e6fa74c5f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_b12ef904-c038-4fec-abfb-c75ff5a61852" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_83d31f4c-9d17-4b48-92a3-c24e6fa74c5f" xlink:to="loc_dei_EntityDomain_b12ef904-c038-4fec-abfb-c75ff5a61852" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RedwoodMember_28c93d64-ee3f-4c5a-a20e-fe1b0b0ae766" xlink:href="rwt-20240930.xsd#rwt_RedwoodMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_b12ef904-c038-4fec-abfb-c75ff5a61852" xlink:to="loc_rwt_RedwoodMember_28c93d64-ee3f-4c5a-a20e-fe1b0b0ae766" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NetMarketValuationGainsLosses_7116cec3-06e8-442a-8eb1-e31cbc6a81c0" xlink:href="rwt-20240930.xsd#rwt_NetMarketValuationGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_b7b83b3c-7854-4b1f-b47b-fdf10167b6af" xlink:to="loc_rwt_NetMarketValuationGainsLosses_7116cec3-06e8-442a-8eb1-e31cbc6a81c0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/HomeEquityInvestmentsHEIHEICharacteristicsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#HomeEquityInvestmentsHEIHEICharacteristicsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/HomeEquityInvestmentsHEIHEICharacteristicsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_d6b73a9c-5072-4de2-b953-e91a88466c6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_b9483cd2-95ef-47ca-a8c0-204411a81bad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_d6b73a9c-5072-4de2-b953-e91a88466c6e" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_b9483cd2-95ef-47ca-a8c0-204411a81bad" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_cbe67c9e-7a60-42b4-9f10-e153cc49a2e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_b9483cd2-95ef-47ca-a8c0-204411a81bad" xlink:to="loc_us-gaap_InvestmentTypeAxis_cbe67c9e-7a60-42b4-9f10-e153cc49a2e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_cbe67c9e-7a60-42b4-9f10-e153cc49a2e3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_cbe67c9e-7a60-42b4-9f10-e153cc49a2e3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_cbe67c9e-7a60-42b4-9f10-e153cc49a2e3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_a99ff4e6-0773-4061-8aea-2b245ba828db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_cbe67c9e-7a60-42b4-9f10-e153cc49a2e3" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_a99ff4e6-0773-4061-8aea-2b245ba828db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HEIAtRedwoodMember_88320646-fd68-4a57-a1df-265d8383a43b" xlink:href="rwt-20240930.xsd#rwt_HEIAtRedwoodMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a99ff4e6-0773-4061-8aea-2b245ba828db" xlink:to="loc_rwt_HEIAtRedwoodMember_88320646-fd68-4a57-a1df-265d8383a43b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SecuritizedHEIMember_d367f6af-6a85-4e3b-b3fd-8a990afae5f7" xlink:href="rwt-20240930.xsd#rwt_SecuritizedHEIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a99ff4e6-0773-4061-8aea-2b245ba828db" xlink:to="loc_rwt_SecuritizedHEIMember_d367f6af-6a85-4e3b-b3fd-8a990afae5f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ABSIssuedFromHEISecuritizationMember_826259a5-63dc-4984-a88b-7f1a0daca73f" xlink:href="rwt-20240930.xsd#rwt_ABSIssuedFromHEISecuritizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a99ff4e6-0773-4061-8aea-2b245ba828db" xlink:to="loc_rwt_ABSIssuedFromHEISecuritizationMember_826259a5-63dc-4984-a88b-7f1a0daca73f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NonControllingInHEISecuritizationsMember_ed22a08f-b4bf-4764-a070-716863cb63d2" xlink:href="rwt-20240930.xsd#rwt_NonControllingInHEISecuritizationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a99ff4e6-0773-4061-8aea-2b245ba828db" xlink:to="loc_rwt_NonControllingInHEISecuritizationsMember_ed22a08f-b4bf-4764-a070-716863cb63d2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NetMarketValuationRecordedGainLossesIncomeNet_7b0c6b22-dd93-473a-b022-90b9bc93cf19" xlink:href="rwt-20240930.xsd#rwt_NetMarketValuationRecordedGainLossesIncomeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_d6b73a9c-5072-4de2-b953-e91a88466c6e" xlink:to="loc_rwt_NetMarketValuationRecordedGainLossesIncomeNet_7b0c6b22-dd93-473a-b022-90b9bc93cf19" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating_a1d20518-3a27-4fc2-af15-90304b2caedf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_d6b73a9c-5072-4de2-b953-e91a88466c6e" xlink:to="loc_us-gaap_InterestExpenseOperating_a1d20518-3a27-4fc2-af15-90304b2caedf" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherInvestmentsScheduleofOtherInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_d6586f19-82b1-444a-8123-25314a023b6a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_476ffa65-7d29-4532-a9e0-5a875cd77cf3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_d6586f19-82b1-444a-8123-25314a023b6a" xlink:to="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_476ffa65-7d29-4532-a9e0-5a875cd77cf3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_c2a2b27e-33fd-44aa-8a3c-f54fa7c5a1bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_476ffa65-7d29-4532-a9e0-5a875cd77cf3" xlink:to="loc_us-gaap_FinancialInstrumentAxis_c2a2b27e-33fd-44aa-8a3c-f54fa7c5a1bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c2a2b27e-33fd-44aa-8a3c-f54fa7c5a1bc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c2a2b27e-33fd-44aa-8a3c-f54fa7c5a1bc" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c2a2b27e-33fd-44aa-8a3c-f54fa7c5a1bc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1564b6d6-66ca-4ea5-98d6-f95bc9bc58ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_c2a2b27e-33fd-44aa-8a3c-f54fa7c5a1bc" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1564b6d6-66ca-4ea5-98d6-f95bc9bc58ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageMember_3402616f-2e36-4c4c-879f-a4941cb0c8c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ResidentialMortgageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1564b6d6-66ca-4ea5-98d6-f95bc9bc58ce" xlink:to="loc_us-gaap_ResidentialMortgageMember_3402616f-2e36-4c4c-879f-a4941cb0c8c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsMember_4ca87294-5de2-4dc7-98a1-f8e76b56c062" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1564b6d6-66ca-4ea5-98d6-f95bc9bc58ce" xlink:to="loc_rwt_StrategicInvestmentsMember_4ca87294-5de2-4dc7-98a1-f8e76b56c062" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExcessMortgageServicingRightsMember_badd057b-c815-4c12-a6b4-9921b63f7777" xlink:href="rwt-20240930.xsd#rwt_ExcessMortgageServicingRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_1564b6d6-66ca-4ea5-98d6-f95bc9bc58ce" xlink:to="loc_rwt_ExcessMortgageServicingRightsMember_badd057b-c815-4c12-a6b4-9921b63f7777" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_6ea64211-4923-45f6-9cd1-9fd8486a8321" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_476ffa65-7d29-4532-a9e0-5a875cd77cf3" xlink:to="loc_us-gaap_InvestmentTypeAxis_6ea64211-4923-45f6-9cd1-9fd8486a8321" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_6ea64211-4923-45f6-9cd1-9fd8486a8321_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_6ea64211-4923-45f6-9cd1-9fd8486a8321" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_6ea64211-4923-45f6-9cd1-9fd8486a8321_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_afeeb930-d4ba-4332-a705-383ea3748990" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_6ea64211-4923-45f6-9cd1-9fd8486a8321" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_afeeb930-d4ba-4332-a705-383ea3748990" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageServicingRightsMember_66c4d1d2-e223-4fbe-8c33-3e3c1af5d072" xlink:href="rwt-20240930.xsd#rwt_MortgageServicingRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_afeeb930-d4ba-4332-a705-383ea3748990" xlink:to="loc_rwt_MortgageServicingRightsMember_66c4d1d2-e223-4fbe-8c33-3e3c1af5d072" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherNotesReceivableMember_ae55b1b2-6a22-48ca-889c-0ff5744bd1d9" xlink:href="rwt-20240930.xsd#rwt_OtherNotesReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_afeeb930-d4ba-4332-a705-383ea3748990" xlink:to="loc_rwt_OtherNotesReceivableMember_ae55b1b2-6a22-48ca-889c-0ff5744bd1d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_fcc363fa-f5cd-49ab-8099-30614f8f6fd4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_d6586f19-82b1-444a-8123-25314a023b6a" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_fcc363fa-f5cd-49ab-8099-30614f8f6fd4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsAtCarryingValue_c6dc7ca2-9f04-4029-8be9-5810abbf2ef8" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_d6586f19-82b1-444a-8123-25314a023b6a" xlink:to="loc_rwt_StrategicInvestmentsAtCarryingValue_c6dc7ca2-9f04-4029-8be9-5810abbf2ef8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsAtFairValueAmount_1f6e1a65-6a56-4929-b4bd-5927c226581f" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsAtFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_d6586f19-82b1-444a-8123-25314a023b6a" xlink:to="loc_rwt_StrategicInvestmentsAtFairValueAmount_1f6e1a65-6a56-4929-b4bd-5927c226581f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanHeldForInvestmentAmount_9d6e92d1-d6eb-4716-84aa-3ab4299ea484" xlink:href="rwt-20240930.xsd#rwt_LoanHeldForInvestmentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_d6586f19-82b1-444a-8123-25314a023b6a" xlink:to="loc_rwt_LoanHeldForInvestmentAmount_9d6e92d1-d6eb-4716-84aa-3ab4299ea484" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_d94c0765-1295-4ee8-9775-0fcb463407ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_d6586f19-82b1-444a-8123-25314a023b6a" xlink:to="loc_us-gaap_OtherInvestments_d94c0765-1295-4ee8-9775-0fcb463407ef" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentIncomeNetDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherInvestmentsScheduleofOtherInvestmentIncomeNetDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/OtherInvestmentsScheduleofOtherInvestmentIncomeNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_236cbdc5-c08c-4bd6-98d9-49fbd6fa4f3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:to="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_236cbdc5-c08c-4bd6-98d9-49fbd6fa4f3d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0b59ee40-84f9-4547-8269-6231af4e9ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_236cbdc5-c08c-4bd6-98d9-49fbd6fa4f3d" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0b59ee40-84f9-4547-8269-6231af4e9ab1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0b59ee40-84f9-4547-8269-6231af4e9ab1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0b59ee40-84f9-4547-8269-6231af4e9ab1" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_0b59ee40-84f9-4547-8269-6231af4e9ab1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7209da8a-6b49-4882-a77d-37faf3eedc12" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_0b59ee40-84f9-4547-8269-6231af4e9ab1" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7209da8a-6b49-4882-a77d-37faf3eedc12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicerAdvanceFinancingMember_a7f10bb1-0731-4d43-a25d-eeb8b8757bd9" xlink:href="rwt-20240930.xsd#rwt_ServicerAdvanceFinancingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7209da8a-6b49-4882-a77d-37faf3eedc12" xlink:to="loc_rwt_ServicerAdvanceFinancingMember_a7f10bb1-0731-4d43-a25d-eeb8b8757bd9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_c65c1b7f-4bc9-471d-a45d-741d123397ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_236cbdc5-c08c-4bd6-98d9-49fbd6fa4f3d" xlink:to="loc_us-gaap_InvestmentTypeAxis_c65c1b7f-4bc9-471d-a45d-741d123397ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_c65c1b7f-4bc9-471d-a45d-741d123397ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_c65c1b7f-4bc9-471d-a45d-741d123397ff" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_c65c1b7f-4bc9-471d-a45d-741d123397ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_a3728ec1-3e60-4979-9249-64363a7bd05e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_c65c1b7f-4bc9-471d-a45d-741d123397ff" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_a3728ec1-3e60-4979-9249-64363a7bd05e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsMember_d4f6478c-fd46-42fd-b4f2-cbc6a5fdf1dd" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a3728ec1-3e60-4979-9249-64363a7bd05e" xlink:to="loc_rwt_StrategicInvestmentsMember_d4f6478c-fd46-42fd-b4f2-cbc6a5fdf1dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageServicingRightsMember_7e4ae587-7a88-4cdf-ac21-6cd36bfbfaf4" xlink:href="rwt-20240930.xsd#rwt_MortgageServicingRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_a3728ec1-3e60-4979-9249-64363a7bd05e" xlink:to="loc_rwt_MortgageServicingRightsMember_7e4ae587-7a88-4cdf-ac21-6cd36bfbfaf4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_4f3fc282-b2cd-4b1b-8a38-78ffc7047f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_236cbdc5-c08c-4bd6-98d9-49fbd6fa4f3d" xlink:to="loc_us-gaap_FinancialInstrumentAxis_4f3fc282-b2cd-4b1b-8a38-78ffc7047f5e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4f3fc282-b2cd-4b1b-8a38-78ffc7047f5e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_4f3fc282-b2cd-4b1b-8a38-78ffc7047f5e" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4f3fc282-b2cd-4b1b-8a38-78ffc7047f5e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_eaac1284-748e-44e6-9a15-6ff074be5959" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_4f3fc282-b2cd-4b1b-8a38-78ffc7047f5e" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_eaac1284-748e-44e6-9a15-6ff074be5959" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExcessMortgageServicingRightsMember_7a89d4c4-754d-4c6e-9b83-322646fa8b0d" xlink:href="rwt-20240930.xsd#rwt_ExcessMortgageServicingRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_eaac1284-748e-44e6-9a15-6ff074be5959" xlink:to="loc_rwt_ExcessMortgageServicingRightsMember_7a89d4c4-754d-4c6e-9b83-322646fa8b0d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_352747d9-28a7-4cb9-b670-ea184d8cbce0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_352747d9-28a7-4cb9-b670-ea184d8cbce0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_c46f6d20-b4bb-4fb0-8b97-f9df00355135" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_c46f6d20-b4bb-4fb0-8b97-f9df00355135" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StrategicInvestmentsIncomeLossNet_d2b67599-50c9-4323-a106-a47311e32399" xlink:href="rwt-20240930.xsd#rwt_StrategicInvestmentsIncomeLossNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:to="loc_rwt_StrategicInvestmentsIncomeLossNet_d2b67599-50c9-4323-a106-a47311e32399" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_8a886f9d-d2b2-46da-8b24-6edc05affd05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_8a886f9d-d2b2-46da-8b24-6edc05affd05" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageServicingRightsIncomeLossNet_d5954743-f076-4aa4-a94a-7950f9f5d699" xlink:href="rwt-20240930.xsd#rwt_MortgageServicingRightsIncomeLossNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:to="loc_rwt_MortgageServicingRightsIncomeLossNet_d5954743-f076-4aa4-a94a-7950f9f5d699" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TotalOtherInvestmentsIncomeNet_9b490172-dc23-40fc-b202-2ee5aa3d865f" xlink:href="rwt-20240930.xsd#rwt_TotalOtherInvestmentsIncomeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_f9810cf7-acc6-4c2d-8d03-abb8cea34fec" xlink:to="loc_rwt_TotalOtherInvestmentsIncomeNet_9b490172-dc23-40fc-b202-2ee5aa3d865f" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherInvestmentsAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherInvestmentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/OtherInvestmentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_ff27be59-2f1b-4056-9ac3-678a29b7f86a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_6ac24332-0115-4302-ad49-4c12a8176107" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_ff27be59-2f1b-4056-9ac3-678a29b7f86a" xlink:to="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_6ac24332-0115-4302-ad49-4c12a8176107" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233b65cd-8854-467e-90dd-9080f529105b" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryTable_6ac24332-0115-4302-ad49-4c12a8176107" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233b65cd-8854-467e-90dd-9080f529105b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_233b65cd-8854-467e-90dd-9080f529105b_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233b65cd-8854-467e-90dd-9080f529105b" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_233b65cd-8854-467e-90dd-9080f529105b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_2a90bf73-1541-4090-9b70-739ab426a469" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_233b65cd-8854-467e-90dd-9080f529105b" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_2a90bf73-1541-4090-9b70-739ab426a469" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RWTHorizonsMember_90f651aa-0747-4355-b2c7-f1be2681302c" xlink:href="rwt-20240930.xsd#rwt_RWTHorizonsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_2a90bf73-1541-4090-9b70-739ab426a469" xlink:to="loc_rwt_RWTHorizonsMember_90f651aa-0747-4355-b2c7-f1be2681302c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OaktreeCapitalManagementL.P.Member_77cd3b7d-9873-4300-af69-6a48d115f7d5" xlink:href="rwt-20240930.xsd#rwt_OaktreeCapitalManagementL.P.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_2a90bf73-1541-4090-9b70-739ab426a469" xlink:to="loc_rwt_OaktreeCapitalManagementL.P.Member_77cd3b7d-9873-4300-af69-6a48d115f7d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CPPInvestmentsMember_8bcf39fb-8246-4527-a879-a7671b94f98e" xlink:href="rwt-20240930.xsd#rwt_CPPInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_2a90bf73-1541-4090-9b70-739ab426a469" xlink:to="loc_rwt_CPPInvestmentsMember_8bcf39fb-8246-4527-a879-a7671b94f98e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Investments_15ed7162-4081-4b5a-89e4-1956b8f11c64" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Investments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_ff27be59-2f1b-4056-9ac3-678a29b7f86a" xlink:to="loc_us-gaap_Investments_15ed7162-4081-4b5a-89e4-1956b8f11c64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_5ad98ef4-bd9e-4bbb-877f-e7d265f3f7ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_ff27be59-2f1b-4056-9ac3-678a29b7f86a" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_5ad98ef4-bd9e-4bbb-877f-e7d265f3f7ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentSoldCarryingAmount_d0bac980-99e5-439e-ac42-37e7d4f8539a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentSoldCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentIncomeReportedAmountsByCategoryLineItems_ff27be59-2f1b-4056-9ac3-678a29b7f86a" xlink:to="loc_us-gaap_EquityMethodInvestmentSoldCarryingAmount_d0bac980-99e5-439e-ac42-37e7d4f8539a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/DerivativeFinancialInstrumentsScheduleofFairValueandNotionalAmountofDerivativesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#DerivativeFinancialInstrumentsScheduleofFairValueandNotionalAmountofDerivativesDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/DerivativeFinancialInstrumentsScheduleofFairValueandNotionalAmountofDerivativesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_455ce10b-a704-40aa-9e71-ccb319247e1e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_641c874f-cf08-46e3-86be-b53e62c31178" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_455ce10b-a704-40aa-9e71-ccb319247e1e" xlink:to="loc_us-gaap_DerivativeTable_641c874f-cf08-46e3-86be-b53e62c31178" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_fdc56b6d-8be5-47b2-b3c9-31fc695a5573" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_641c874f-cf08-46e3-86be-b53e62c31178" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_fdc56b6d-8be5-47b2-b3c9-31fc695a5573" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_fdc56b6d-8be5-47b2-b3c9-31fc695a5573_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_fdc56b6d-8be5-47b2-b3c9-31fc695a5573" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_fdc56b6d-8be5-47b2-b3c9-31fc695a5573_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_fc41edb1-0431-4df8-9611-a8c37d0330fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_fdc56b6d-8be5-47b2-b3c9-31fc695a5573" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_fc41edb1-0431-4df8-9611-a8c37d0330fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFinancialInstrumentsAssetsMember_da57d392-2f19-4f92-8869-47903c01fb0e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFinancialInstrumentsAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_fc41edb1-0431-4df8-9611-a8c37d0330fa" xlink:to="loc_us-gaap_DerivativeFinancialInstrumentsAssetsMember_da57d392-2f19-4f92-8869-47903c01fb0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_2b7c703c-0ef6-4eea-ae8e-b08cf392d714" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByLiabilityClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_641c874f-cf08-46e3-86be-b53e62c31178" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_2b7c703c-0ef6-4eea-ae8e-b08cf392d714" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_2b7c703c-0ef6-4eea-ae8e-b08cf392d714_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_2b7c703c-0ef6-4eea-ae8e-b08cf392d714" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_2b7c703c-0ef6-4eea-ae8e-b08cf392d714_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_8bde4cc6-fe07-4e45-b54f-330bc18bd999" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_2b7c703c-0ef6-4eea-ae8e-b08cf392d714" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_8bde4cc6-fe07-4e45-b54f-330bc18bd999" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFinancialInstrumentsLiabilitiesMember_79811151-6c46-41f1-bafa-05eeb2028eba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFinancialInstrumentsLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_8bde4cc6-fe07-4e45-b54f-330bc18bd999" xlink:to="loc_us-gaap_DerivativeFinancialInstrumentsLiabilitiesMember_79811151-6c46-41f1-bafa-05eeb2028eba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_1566d8a8-5719-48ff-b191-739b8ede2b75" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_641c874f-cf08-46e3-86be-b53e62c31178" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_1566d8a8-5719-48ff-b191-739b8ede2b75" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1566d8a8-5719-48ff-b191-739b8ede2b75_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1566d8a8-5719-48ff-b191-739b8ede2b75" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1566d8a8-5719-48ff-b191-739b8ede2b75_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_75555cf6-fcf2-48a7-8bc3-28ee84dbf090" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1566d8a8-5719-48ff-b191-739b8ede2b75" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_75555cf6-fcf2-48a7-8bc3-28ee84dbf090" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_cd1b225b-2f12-46a4-800b-42c52ff04301" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_75555cf6-fcf2-48a7-8bc3-28ee84dbf090" xlink:to="loc_us-gaap_InterestRateSwapMember_cd1b225b-2f12-46a4-800b-42c52ff04301" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ToBeAnnouncedContractsMember_cd62bcde-6029-4050-b319-4224e56d685d" xlink:href="rwt-20240930.xsd#rwt_ToBeAnnouncedContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_75555cf6-fcf2-48a7-8bc3-28ee84dbf090" xlink:to="loc_rwt_ToBeAnnouncedContractsMember_cd62bcde-6029-4050-b319-4224e56d685d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FutureMember_6e14ec96-c9bf-49a1-a238-da188f552d09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FutureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_75555cf6-fcf2-48a7-8bc3-28ee84dbf090" xlink:to="loc_us-gaap_FutureMember_6e14ec96-c9bf-49a1-a238-da188f552d09" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwaptionMember_5e0c55ba-a9f6-4c87-a19c-f2d097d34268" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwaptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_75555cf6-fcf2-48a7-8bc3-28ee84dbf090" xlink:to="loc_us-gaap_InterestRateSwaptionMember_5e0c55ba-a9f6-4c87-a19c-f2d097d34268" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanPurchaseCommitmentsMember_ec8367cc-6ef4-404f-a429-9b6243d93cb7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LoanPurchaseCommitmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_75555cf6-fcf2-48a7-8bc3-28ee84dbf090" xlink:to="loc_us-gaap_LoanPurchaseCommitmentsMember_ec8367cc-6ef4-404f-a429-9b6243d93cb7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeNet_22690812-2780-4d93-9393-cf71d6f5beea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_455ce10b-a704-40aa-9e71-ccb319247e1e" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeNet_22690812-2780-4d93-9393-cf71d6f5beea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_c47a2092-790e-45b3-a19c-1d4cf8645cb1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_455ce10b-a704-40aa-9e71-ccb319247e1e" xlink:to="loc_us-gaap_DerivativeNotionalAmount_c47a2092-790e-45b3-a19c-1d4cf8645cb1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/DerivativeFinancialInstrumentsScheduleofMarketValuationGainsLossesonDerivativesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#DerivativeFinancialInstrumentsScheduleofMarketValuationGainsLossesonDerivativesDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/DerivativeFinancialInstrumentsScheduleofMarketValuationGainsLossesonDerivativesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_93bf063f-8a06-4487-9d14-bc846f21a36b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_688738fb-83a9-428b-a8d0-0fd66cd20074" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_93bf063f-8a06-4487-9d14-bc846f21a36b" xlink:to="loc_us-gaap_DerivativeTable_688738fb-83a9-428b-a8d0-0fd66cd20074" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_b94a6ded-6566-42af-805d-60b3cbc47da5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_688738fb-83a9-428b-a8d0-0fd66cd20074" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_b94a6ded-6566-42af-805d-60b3cbc47da5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_b94a6ded-6566-42af-805d-60b3cbc47da5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_b94a6ded-6566-42af-805d-60b3cbc47da5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_b94a6ded-6566-42af-805d-60b3cbc47da5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_ab76c2f2-bf79-4ba2-a845-ac2d116fe606" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_b94a6ded-6566-42af-805d-60b3cbc47da5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_ab76c2f2-bf79-4ba2-a845-ac2d116fe606" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialAndCommercialLoansMember_630804a1-87ce-453b-95a6-2cc6ce98a8c2" xlink:href="rwt-20240930.xsd#rwt_ResidentialAndCommercialLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_ab76c2f2-bf79-4ba2-a845-ac2d116fe606" xlink:to="loc_rwt_ResidentialAndCommercialLoansMember_630804a1-87ce-453b-95a6-2cc6ce98a8c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_d1401fcc-8a96-4236-8ce2-b0853d7978d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_688738fb-83a9-428b-a8d0-0fd66cd20074" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_d1401fcc-8a96-4236-8ce2-b0853d7978d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_d1401fcc-8a96-4236-8ce2-b0853d7978d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_d1401fcc-8a96-4236-8ce2-b0853d7978d9" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_d1401fcc-8a96-4236-8ce2-b0853d7978d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_d11554ec-e5c1-4b22-b6b6-f732c3c9144a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_d1401fcc-8a96-4236-8ce2-b0853d7978d9" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_d11554ec-e5c1-4b22-b6b6-f732c3c9144a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LoanPurchaseCommitmentsAndForwardSalesCommitmentsMember_e7db3501-3752-44aa-9b7c-f0a51beb05d4" xlink:href="rwt-20240930.xsd#rwt_LoanPurchaseCommitmentsAndForwardSalesCommitmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_d11554ec-e5c1-4b22-b6b6-f732c3c9144a" xlink:to="loc_rwt_LoanPurchaseCommitmentsAndForwardSalesCommitmentsMember_e7db3501-3752-44aa-9b7c-f0a51beb05d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_81e0b486-4310-4c01-8b2c-bce9ae775860" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_93bf063f-8a06-4487-9d14-bc846f21a36b" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_81e0b486-4310-4c01-8b2c-bce9ae775860" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets_92af9831-b6ef-4c0e-bee4-a2d3d01c6f1b" xlink:href="rwt-20240930.xsd#rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_93bf063f-8a06-4487-9d14-bc846f21a36b" xlink:to="loc_rwt_IncreaseDecreaseinFairValueAdjustmentsonAssets_92af9831-b6ef-4c0e-bee4-a2d3d01c6f1b" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/DerivativeFinancialInstrumentsAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#DerivativeFinancialInstrumentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/DerivativeFinancialInstrumentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_6ea3a9cb-be84-466f-9ca5-2d063d065770" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_52654401-f2a4-4871-8424-d6a9422bd76e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_6ea3a9cb-be84-466f-9ca5-2d063d065770" xlink:to="loc_us-gaap_DerivativeTable_52654401-f2a4-4871-8424-d6a9422bd76e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_12b09c70-a4a6-4118-98a8-09716f3315fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_52654401-f2a4-4871-8424-d6a9422bd76e" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_12b09c70-a4a6-4118-98a8-09716f3315fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_12b09c70-a4a6-4118-98a8-09716f3315fc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_12b09c70-a4a6-4118-98a8-09716f3315fc" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_12b09c70-a4a6-4118-98a8-09716f3315fc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_db5c3ab5-f2c0-475a-98fb-7778b9c88662" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_12b09c70-a4a6-4118-98a8-09716f3315fc" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_db5c3ab5-f2c0-475a-98fb-7778b9c88662" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_686f728b-7924-4e7d-a127-a1db00865abb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_db5c3ab5-f2c0-475a-98fb-7778b9c88662" xlink:to="loc_us-gaap_InterestRateContractMember_686f728b-7924-4e7d-a127-a1db00865abb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_f37a05a9-0f5c-4fa3-a5ce-91d42f8ff55d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_52654401-f2a4-4871-8424-d6a9422bd76e" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_f37a05a9-0f5c-4fa3-a5ce-91d42f8ff55d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_f37a05a9-0f5c-4fa3-a5ce-91d42f8ff55d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_f37a05a9-0f5c-4fa3-a5ce-91d42f8ff55d" xlink:to="loc_us-gaap_HedgingRelationshipDomain_f37a05a9-0f5c-4fa3-a5ce-91d42f8ff55d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_e6e1bab5-7cea-45b1-8169-e2d59b604864" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_f37a05a9-0f5c-4fa3-a5ce-91d42f8ff55d" xlink:to="loc_us-gaap_HedgingRelationshipDomain_e6e1bab5-7cea-45b1-8169-e2d59b604864" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_380127f0-a23e-4dc2-82fa-99ceccdce38c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_e6e1bab5-7cea-45b1-8169-e2d59b604864" xlink:to="loc_us-gaap_CashFlowHedgingMember_380127f0-a23e-4dc2-82fa-99ceccdce38c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_8fb64e39-733e-4783-86a7-bf11216d94a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_52654401-f2a4-4871-8424-d6a9422bd76e" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_8fb64e39-733e-4783-86a7-bf11216d94a4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_8fb64e39-733e-4783-86a7-bf11216d94a4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_8fb64e39-733e-4783-86a7-bf11216d94a4" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_8fb64e39-733e-4783-86a7-bf11216d94a4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_82739894-c1eb-4fc1-943d-cf9982310210" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_8fb64e39-733e-4783-86a7-bf11216d94a4" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_82739894-c1eb-4fc1-943d-cf9982310210" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseMember_914809af-04e3-496f-8c22-c9e32e9a5896" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_82739894-c1eb-4fc1-943d-cf9982310210" xlink:to="loc_us-gaap_InterestExpenseMember_914809af-04e3-496f-8c22-c9e32e9a5896" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_6c331e3e-3da9-44a6-ab37-1a0c3c87bd4c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6ea3a9cb-be84-466f-9ca5-2d063d065770" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_6c331e3e-3da9-44a6-ab37-1a0c3c87bd4c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_f31b227f-e271-442c-a9b3-f9ba5551bed4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6ea3a9cb-be84-466f-9ca5-2d063d065770" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_f31b227f-e271-442c-a9b3-f9ba5551bed4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_23f3f6f8-80f4-4af4-8a39-bd85c24f97ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_6ea3a9cb-be84-466f-9ca5-2d063d065770" xlink:to="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_23f3f6f8-80f4-4af4-8a39-bd85c24f97ce" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OffsettingAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OffsettingAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/OffsettingAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OffsettingAssetAndLiabilitiesLineItems_9ba81447-8248-4495-bc0d-bc68a900828b" xlink:href="rwt-20240930.xsd#rwt_OffsettingAssetAndLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OffsettingAssetAndLiabilitiesTable_52262614-7780-414c-8056-6f9937c8a117" xlink:href="rwt-20240930.xsd#rwt_OffsettingAssetAndLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rwt_OffsettingAssetAndLiabilitiesLineItems_9ba81447-8248-4495-bc0d-bc68a900828b" xlink:to="loc_rwt_OffsettingAssetAndLiabilitiesTable_52262614-7780-414c-8056-6f9937c8a117" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_16c89f78-9756-41c6-a987-110b7848c97a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rwt_OffsettingAssetAndLiabilitiesTable_52262614-7780-414c-8056-6f9937c8a117" xlink:to="loc_us-gaap_FinancialInstrumentAxis_16c89f78-9756-41c6-a987-110b7848c97a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16c89f78-9756-41c6-a987-110b7848c97a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_16c89f78-9756-41c6-a987-110b7848c97a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16c89f78-9756-41c6-a987-110b7848c97a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_93373183-7645-4cad-abed-0b979a474203" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_16c89f78-9756-41c6-a987-110b7848c97a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_93373183-7645-4cad-abed-0b979a474203" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_84bb138c-d021-46b7-bfc5-def348d2d71f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_93373183-7645-4cad-abed-0b979a474203" xlink:to="loc_us-gaap_InterestRateSwapMember_84bb138c-d021-46b7-bfc5-def348d2d71f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ToBeAnnouncedContractsMember_514a20f7-aca1-46b9-8e07-cee62cd08950" xlink:href="rwt-20240930.xsd#rwt_ToBeAnnouncedContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_93373183-7645-4cad-abed-0b979a474203" xlink:to="loc_rwt_ToBeAnnouncedContractsMember_514a20f7-aca1-46b9-8e07-cee62cd08950" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FutureMember_dd6c242a-4560-49fb-9831-82fae7dd190f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FutureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_93373183-7645-4cad-abed-0b979a474203" xlink:to="loc_us-gaap_FutureMember_dd6c242a-4560-49fb-9831-82fae7dd190f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_InterestRateAgreementTBAsAndFuturesMember_4521dec7-47a7-4ff7-a4fa-594d768d0c6c" xlink:href="rwt-20240930.xsd#rwt_InterestRateAgreementTBAsAndFuturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_93373183-7645-4cad-abed-0b979a474203" xlink:to="loc_rwt_InterestRateAgreementTBAsAndFuturesMember_4521dec7-47a7-4ff7-a4fa-594d768d0c6c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarehouseAgreementBorrowingsMember_1e56e6f6-39b9-44d5-b968-e364ec7f38f8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WarehouseAgreementBorrowingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_93373183-7645-4cad-abed-0b979a474203" xlink:to="loc_us-gaap_WarehouseAgreementBorrowingsMember_1e56e6f6-39b9-44d5-b968-e364ec7f38f8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OffsettingAssetAndLiabilitiesLineItems_9ba81447-8248-4495-bc0d-bc68a900828b" xlink:to="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_6c10f43b-fff9-484e-b894-05ba5a5ca853" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_6c10f43b-fff9-484e-b894-05ba5a5ca853" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_b3b72650-ae88-4fca-aecb-b155dc8fff42" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_b3b72650-ae88-4fca-aecb-b155dc8fff42" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_2fe0ebcf-2e9b-4006-9654-eb8610091bad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:to="loc_us-gaap_DerivativeAssets_2fe0ebcf-2e9b-4006-9654-eb8610091bad" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_cddad30a-8c5e-4fd1-ac24-e9fd8d19795e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities_cddad30a-8c5e-4fd1-ac24-e9fd8d19795e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnCash_2ff737fd-ab35-46f6-8d2b-6acdaddb62d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralObligationToReturnCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:to="loc_us-gaap_DerivativeCollateralObligationToReturnCash_2ff737fd-ab35-46f6-8d2b-6acdaddb62d2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_3203f95a-79db-4f85-8cc8-ffdb68d13d52" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetsAbstract_bdf9d5dd-f141-49e5-b6ee-8f62424e12b6" xlink:to="loc_us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_3203f95a-79db-4f85-8cc8-ffdb68d13d52" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OffsettingAssetAndLiabilitiesLineItems_9ba81447-8248-4495-bc0d-bc68a900828b" xlink:to="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_126a3b02-f44c-48c7-bd89-758bdc14fa98" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_126a3b02-f44c-48c7-bd89-758bdc14fa98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_1d25a03d-9818-4013-8d4d-0fddb6d28aa8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset_1d25a03d-9818-4013-8d4d-0fddb6d28aa8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_20595c6f-2022-45ce-877f-f0293053f533" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_DerivativeLiabilities_20595c6f-2022-45ce-877f-f0293053f533" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_61088cfb-7721-4dc4-bc20-81ca28028eca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities_61088cfb-7721-4dc4-bc20-81ca28028eca" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_6691d3a2-842d-4fa7-b394-a8eef651b00f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_6691d3a2-842d-4fa7-b394-a8eef651b00f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_84047131-f317-4e28-9e07-d0050196709a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection_84047131-f317-4e28-9e07-d0050196709a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_c59c2612-f82e-4c6e-8d07-b8b179d8f95f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseGross_c59c2612-f82e-4c6e-8d07-b8b179d8f95f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_9cf398c2-cc90-4ea5-bbb8-512fe4a6f5e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAsset_9cf398c2-cc90-4ea5-bbb8-512fe4a6f5e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_6db614fb-c5f0-4e53-bb94-44d42773ed23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_6db614fb-c5f0-4e53-bb94-44d42773ed23" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_5fecb796-dc82-4b58-9be7-0daa2ce3b451" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimSecurities_5fecb796-dc82-4b58-9be7-0daa2ce3b451" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_445551ab-6c02-4cdc-92c6-fdb551fd01fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseCollateralRightToReclaimCash_445551ab-6c02-4cdc-92c6-fdb551fd01fc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_765a8cb5-936d-4689-b2f6-e88c5d83db6c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAbstract_31a57550-616b-4a5e-b74f-44e8189b0c8f" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchaseAmountOffsetAgainstCollateral_765a8cb5-936d-4689-b2f6-e88c5d83db6c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract_fa330099-a3a1-486f-ac02-ac6d25275ca3" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_0515c2c6-10a0-4045-a1a2-a73bd0b9e1dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_0515c2c6-10a0-4045-a1a2-a73bd0b9e1dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_5498d4cf-be8c-4847-943a-26d09c579784" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_5498d4cf-be8c-4847-943a-26d09c579784" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_ffab3278-c5ca-426e-9abc-2dadac35f4e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoaned_ffab3278-c5ca-426e-9abc-2dadac35f4e4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_3057690f-4ece-472e-a3eb-29fd17a1bf16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_3057690f-4ece-472e-a3eb-29fd17a1bf16" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_d28f0788-83f0-4a0c-b44b-12a002c6c390" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimCash_d28f0788-83f0-4a0c-b44b-12a002c6c390" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_671d231e-67db-49f6-a62e-a65bae5dea32" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGrossIncludingNotSubjectToMasterNettingArrangementAbstract_29a82877-c27c-4f84-8220-9b5ee8f0acfc" xlink:to="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_671d231e-67db-49f6-a62e-a65bae5dea32" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesScheduleofActivityandCarryingValuesofREOAssetsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherAssetsandLiabilitiesScheduleofActivityandCarryingValuesofREOAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesScheduleofActivityandCarryingValuesofREOAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_8a0eee08-6756-476c-b086-cb2d28578843" xlink:href="rwt-20240930.xsd#rwt_OtherAssetsAndOtherLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherAssetsAndOtherLiabilitiesTable_0bbfa1b7-568b-4129-93a0-aae8742671ad" xlink:href="rwt-20240930.xsd#rwt_OtherAssetsAndOtherLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_8a0eee08-6756-476c-b086-cb2d28578843" xlink:to="loc_rwt_OtherAssetsAndOtherLiabilitiesTable_0bbfa1b7-568b-4129-93a0-aae8742671ad" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_5b49674e-28e0-4f68-b493-79b453215054" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesTable_0bbfa1b7-568b-4129-93a0-aae8742671ad" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_5b49674e-28e0-4f68-b493-79b453215054" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_5b49674e-28e0-4f68-b493-79b453215054_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_5b49674e-28e0-4f68-b493-79b453215054" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_5b49674e-28e0-4f68-b493-79b453215054_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_1bf93c79-bf29-40c5-acf4-59f4e091a18f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_5b49674e-28e0-4f68-b493-79b453215054" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_1bf93c79-bf29-40c5-acf4-59f4e091a18f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BridgeLoanMember_b58eed73-7793-4814-84d2-374d5419572b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_1bf93c79-bf29-40c5-acf4-59f4e091a18f" xlink:to="loc_us-gaap_BridgeLoanMember_b58eed73-7793-4814-84d2-374d5419572b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4d94b134-ecd7-4d29-91d3-0baf35f20a5f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesTable_0bbfa1b7-568b-4129-93a0-aae8742671ad" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4d94b134-ecd7-4d29-91d3-0baf35f20a5f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_4d94b134-ecd7-4d29-91d3-0baf35f20a5f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4d94b134-ecd7-4d29-91d3-0baf35f20a5f" xlink:to="loc_us-gaap_RelatedPartyDomain_4d94b134-ecd7-4d29-91d3-0baf35f20a5f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_b6517d58-b886-4a80-b55b-b244bde60638" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4d94b134-ecd7-4d29-91d3-0baf35f20a5f" xlink:to="loc_us-gaap_RelatedPartyDomain_b6517d58-b886-4a80-b55b-b244bde60638" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTMember_f97949ce-73f2-4244-950e-37a233e77421" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_b6517d58-b886-4a80-b55b-b244bde60638" xlink:to="loc_rwt_FreddieMacSLSTMember_f97949ce-73f2-4244-950e-37a233e77421" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesMember_3e87f196-45ca-4256-bb20-de476ce23017" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_b6517d58-b886-4a80-b55b-b244bde60638" xlink:to="loc_rwt_CAFLSecuritizationEntitiesMember_3e87f196-45ca-4256-bb20-de476ce23017" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherRealEstateRollForward_3bacee68-22e1-42fb-b5a5-3146aa9ae36a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherRealEstateRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_8a0eee08-6756-476c-b086-cb2d28578843" xlink:to="loc_us-gaap_OtherRealEstateRollForward_3bacee68-22e1-42fb-b5a5-3146aa9ae36a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_3b096ac4-36ac-4ac0-bee7-baa64ccca481" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherRealEstateRollForward_3bacee68-22e1-42fb-b5a5-3146aa9ae36a" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_3b096ac4-36ac-4ac0-bee7-baa64ccca481" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquisitionsThroughForeclosures_cb774827-1ec2-483e-98a4-f9648258552f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealEstateAcquisitionsThroughForeclosures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherRealEstateRollForward_3bacee68-22e1-42fb-b5a5-3146aa9ae36a" xlink:to="loc_us-gaap_RealEstateAcquisitionsThroughForeclosures_cb774827-1ec2-483e-98a4-f9648258552f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateCostOfRealEstateSold_7fdea266-3566-46ca-a665-dab842f1ed3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealEstateCostOfRealEstateSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherRealEstateRollForward_3bacee68-22e1-42fb-b5a5-3146aa9ae36a" xlink:to="loc_us-gaap_RealEstateCostOfRealEstateSold_7fdea266-3566-46ca-a665-dab842f1ed3c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrincipalInvestmentGainsLosses_5e415ee6-a02c-4acc-93ae-bcbd393d5bcb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PrincipalInvestmentGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherRealEstateRollForward_3bacee68-22e1-42fb-b5a5-3146aa9ae36a" xlink:to="loc_us-gaap_PrincipalInvestmentGainsLosses_5e415ee6-a02c-4acc-93ae-bcbd393d5bcb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_86aa500a-0dda-4e2a-9cde-4572a21f4c92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealizedGainLossFromLiquidation_d96be799-91ec-46da-ac5c-60ad4cf0f085" xlink:href="rwt-20240930.xsd#rwt_RealizedGainLossFromLiquidation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_8a0eee08-6756-476c-b086-cb2d28578843" xlink:to="loc_rwt_RealizedGainLossFromLiquidation_d96be799-91ec-46da-ac5c-60ad4cf0f085" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#OtherAssetsandLiabilitiesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/OtherAssetsandLiabilitiesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_2d7a43ff-5cd1-4fcd-987e-950f0f2ac34b" xlink:href="rwt-20240930.xsd#rwt_OtherAssetsAndOtherLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherAssetsAndOtherLiabilitiesTable_d6141da4-ad64-4d0c-a25b-9de091b4257d" xlink:href="rwt-20240930.xsd#rwt_OtherAssetsAndOtherLiabilitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_2d7a43ff-5cd1-4fcd-987e-950f0f2ac34b" xlink:to="loc_rwt_OtherAssetsAndOtherLiabilitiesTable_d6141da4-ad64-4d0c-a25b-9de091b4257d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_508567c3-5d38-4e9d-ad09-8acf07a381e7" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesTable_d6141da4-ad64-4d0c-a25b-9de091b4257d" xlink:to="loc_srt_OwnershipAxis_508567c3-5d38-4e9d-ad09-8acf07a381e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_508567c3-5d38-4e9d-ad09-8acf07a381e7_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_508567c3-5d38-4e9d-ad09-8acf07a381e7" xlink:to="loc_srt_OwnershipDomain_508567c3-5d38-4e9d-ad09-8acf07a381e7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_0ad81625-e51b-409b-ac98-049a8ad412c1" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_508567c3-5d38-4e9d-ad09-8acf07a381e7" xlink:to="loc_srt_OwnershipDomain_0ad81625-e51b-409b-ac98-049a8ad412c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CoInvestorsInterestsMember_d918a164-1559-4746-beb2-2e3bc3b62f86" xlink:href="rwt-20240930.xsd#rwt_CoInvestorsInterestsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_0ad81625-e51b-409b-ac98-049a8ad412c1" xlink:to="loc_rwt_CoInvestorsInterestsMember_d918a164-1559-4746-beb2-2e3bc3b62f86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PointHEINoncontrollingInterestMember_c3540d89-3738-4669-a893-344fa4e56df5" xlink:href="rwt-20240930.xsd#rwt_PointHEINoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_0ad81625-e51b-409b-ac98-049a8ad412c1" xlink:to="loc_rwt_PointHEINoncontrollingInterestMember_c3540d89-3738-4669-a893-344fa4e56df5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfPartnershipsConsolidated_1ed67985-fe2d-4194-a552-e660c855eb19" xlink:href="rwt-20240930.xsd#rwt_NumberOfPartnershipsConsolidated"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_2d7a43ff-5cd1-4fcd-987e-950f0f2ac34b" xlink:to="loc_rwt_NumberOfPartnershipsConsolidated_1ed67985-fe2d-4194-a552-e660c855eb19" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestInOperatingPartnerships_1df2526a-d4f3-43f0-b611-261f9f7a9f67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestInOperatingPartnerships"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_2d7a43ff-5cd1-4fcd-987e-950f0f2ac34b" xlink:to="loc_us-gaap_MinorityInterestInOperatingPartnerships_1df2526a-d4f3-43f0-b611-261f9f7a9f67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_66125a71-da46-457c-b426-06dc3174751d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAllocatedToLimitedPartners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_2d7a43ff-5cd1-4fcd-987e-950f0f2ac34b" xlink:to="loc_us-gaap_NetIncomeLossAllocatedToLimitedPartners_66125a71-da46-457c-b426-06dc3174751d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfSecuritizationTransactionsCoSponsored_5acbed81-979e-4b01-8b4a-3f55f4d14721" xlink:href="rwt-20240930.xsd#rwt_NumberOfSecuritizationTransactionsCoSponsored"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_OtherAssetsAndOtherLiabilitiesLineItems_2d7a43ff-5cd1-4fcd-987e-950f0f2ac34b" xlink:to="loc_rwt_NumberOfSecuritizationTransactionsCoSponsored_5acbed81-979e-4b01-8b4a-3f55f4d14721" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofAssetsandLiabilitiesofConsolidatedVIEsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#PrinciplesofConsolidationScheduleofAssetsandLiabilitiesofConsolidatedVIEsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofAssetsandLiabilitiesofConsolidatedVIEsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_beedff53-8f29-4914-97a0-c7ffd163f005" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_beedff53-8f29-4914-97a0-c7ffd163f005" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_36960310-4d10-4584-9cff-3aa463e30cab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_beedff53-8f29-4914-97a0-c7ffd163f005" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_36960310-4d10-4584-9cff-3aa463e30cab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_36960310-4d10-4584-9cff-3aa463e30cab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_36960310-4d10-4584-9cff-3aa463e30cab" xlink:to="loc_us-gaap_RelatedPartyDomain_36960310-4d10-4584-9cff-3aa463e30cab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_36960310-4d10-4584-9cff-3aa463e30cab" xlink:to="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_ed632e1d-b2e4-4a8f-b1de-8cb56dcfc8d7" xlink:href="rwt-20240930.xsd#rwt_SequoiaChoiceSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:to="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_ed632e1d-b2e4-4a8f-b1de-8cb56dcfc8d7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesMember_38886f05-32bc-4e82-b040-de3e7615e2e2" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:to="loc_rwt_CAFLSecuritizationEntitiesMember_38886f05-32bc-4e82-b040-de3e7615e2e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_b4e6d1b2-9f2e-4246-a2ab-46cd83eccbdb" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:to="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_b4e6d1b2-9f2e-4246-a2ab-46cd83eccbdb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesMember_3c38e0a5-dbb7-4c7e-b559-ce55a05f1783" xlink:href="rwt-20240930.xsd#rwt_FreddieMacKSeriesSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:to="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesMember_3c38e0a5-dbb7-4c7e-b559-ce55a05f1783" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExcessServicingEntitiesMember_99a04e08-c4a8-4713-9b19-11ea5b9ad6a3" xlink:href="rwt-20240930.xsd#rwt_ExcessServicingEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:to="loc_rwt_ExcessServicingEntitiesMember_99a04e08-c4a8-4713-9b19-11ea5b9ad6a3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PointMember_1721dd6c-e67b-455d-b152-b0717329c5f7" xlink:href="rwt-20240930.xsd#rwt_PointMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d365e8ef-85d8-425e-b84e-ac820b7b1c89" xlink:to="loc_rwt_PointMember_1721dd6c-e67b-455d-b152-b0717329c5f7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e33a96cd-4dec-46a1-8330-35e5689449bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_beedff53-8f29-4914-97a0-c7ffd163f005" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e33a96cd-4dec-46a1-8330-35e5689449bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_e33a96cd-4dec-46a1-8330-35e5689449bf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e33a96cd-4dec-46a1-8330-35e5689449bf" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_e33a96cd-4dec-46a1-8330-35e5689449bf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7f336d9d-8731-4190-8bf3-4a953fb75d08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_e33a96cd-4dec-46a1-8330-35e5689449bf" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7f336d9d-8731-4190-8bf3-4a953fb75d08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoansHeldForInvestmentMember_900a4427-889d-4cfd-9f5c-7e16387dc0ef" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoansHeldForInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7f336d9d-8731-4190-8bf3-4a953fb75d08" xlink:to="loc_rwt_ResidentialConsumerLoansHeldForInvestmentMember_900a4427-889d-4cfd-9f5c-7e16387dc0ef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoansHeldForInvestmentMember_a54022ce-5811-4232-922a-930cb6a6e54e" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoansHeldForInvestmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7f336d9d-8731-4190-8bf3-4a953fb75d08" xlink:to="loc_rwt_ResidentialInvestorLoansHeldForInvestmentMember_a54022ce-5811-4232-922a-930cb6a6e54e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ConsolidatedAgencyMultifamilyLoansMember_864a8226-9b24-46de-8b29-dd1245b951f5" xlink:href="rwt-20240930.xsd#rwt_ConsolidatedAgencyMultifamilyLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7f336d9d-8731-4190-8bf3-4a953fb75d08" xlink:to="loc_rwt_ConsolidatedAgencyMultifamilyLoansMember_864a8226-9b24-46de-8b29-dd1245b951f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealEstateSecuritiesMember_b6c083c6-c520-4973-8426-8be18f8c2296" xlink:href="rwt-20240930.xsd#rwt_RealEstateSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_7f336d9d-8731-4190-8bf3-4a953fb75d08" xlink:to="loc_rwt_RealEstateSecuritiesMember_b6c083c6-c520-4973-8426-8be18f8c2296" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_333b5ba0-aa6f-4114-9e5f-162dd5b44f45" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_beedff53-8f29-4914-97a0-c7ffd163f005" xlink:to="loc_srt_ConsolidatedEntitiesAxis_333b5ba0-aa6f-4114-9e5f-162dd5b44f45" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_333b5ba0-aa6f-4114-9e5f-162dd5b44f45_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_333b5ba0-aa6f-4114-9e5f-162dd5b44f45" xlink:to="loc_srt_ConsolidatedEntitiesDomain_333b5ba0-aa6f-4114-9e5f-162dd5b44f45_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_f49390df-e98a-4bcb-9a2b-b313c6859882" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_333b5ba0-aa6f-4114-9e5f-162dd5b44f45" xlink:to="loc_srt_ConsolidatedEntitiesDomain_f49390df-e98a-4bcb-9a2b-b313c6859882" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_bd69c672-da9e-439e-be70-5a9d0bb15964" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_f49390df-e98a-4bcb-9a2b-b313c6859882" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_bd69c672-da9e-439e-be70-5a9d0bb15964" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralAxis_416a6656-c254-4aa8-8960-549b38de2456" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_beedff53-8f29-4914-97a0-c7ffd163f005" xlink:to="loc_us-gaap_CollateralAxis_416a6656-c254-4aa8-8960-549b38de2456" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_416a6656-c254-4aa8-8960-549b38de2456_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_416a6656-c254-4aa8-8960-549b38de2456" xlink:to="loc_us-gaap_CollateralDomain_416a6656-c254-4aa8-8960-549b38de2456_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_9124734d-3e88-435d-ba57-aaa1efcd95cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_416a6656-c254-4aa8-8960-549b38de2456" xlink:to="loc_us-gaap_CollateralDomain_9124734d-3e88-435d-ba57-aaa1efcd95cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CollateralizedFinancingEntitiesMember_34ca41c1-6f71-402e-98ec-966737b5c42a" xlink:href="rwt-20240930.xsd#rwt_CollateralizedFinancingEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_9124734d-3e88-435d-ba57-aaa1efcd95cc" xlink:to="loc_rwt_CollateralizedFinancingEntitiesMember_34ca41c1-6f71-402e-98ec-966737b5c42a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_b86891d7-10e4-4b07-a281-eed0998b8e78" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_beedff53-8f29-4914-97a0-c7ffd163f005" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_b86891d7-10e4-4b07-a281-eed0998b8e78" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_b86891d7-10e4-4b07-a281-eed0998b8e78_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_b86891d7-10e4-4b07-a281-eed0998b8e78" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_b86891d7-10e4-4b07-a281-eed0998b8e78_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3982cf1f-c7cf-43ed-99a0-f92bc41b463a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_b86891d7-10e4-4b07-a281-eed0998b8e78" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3982cf1f-c7cf-43ed-99a0-f92bc41b463a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesMember_bc218e06-f7a5-4462-95c7-a7d456293492" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3982cf1f-c7cf-43ed-99a0-f92bc41b463a" xlink:to="loc_rwt_CAFLSecuritizationEntitiesMember_bc218e06-f7a5-4462-95c7-a7d456293492" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLBridgeLoanSecuritizationMember_a34ca271-b2bf-4215-a124-8e23eb935333" xlink:href="rwt-20240930.xsd#rwt_CAFLBridgeLoanSecuritizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3982cf1f-c7cf-43ed-99a0-f92bc41b463a" xlink:to="loc_rwt_CAFLBridgeLoanSecuritizationMember_a34ca271-b2bf-4215-a124-8e23eb935333" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_7104acd5-3be4-4dd5-871c-a897cbfcbdfd" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3982cf1f-c7cf-43ed-99a0-f92bc41b463a" xlink:to="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_7104acd5-3be4-4dd5-871c-a897cbfcbdfd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ConsolidatedSequoiaSecuritizationsMember_7870c7ba-4c6b-4937-baae-68872c9a04da" xlink:href="rwt-20240930.xsd#rwt_ConsolidatedSequoiaSecuritizationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_3982cf1f-c7cf-43ed-99a0-f92bc41b463a" xlink:to="loc_rwt_ConsolidatedSequoiaSecuritizationsMember_7870c7ba-4c6b-4937-baae-68872c9a04da" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_085dce27-70b2-4b02-ac0f-b668cbdc7e5c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_NotesReceivableNet_085dce27-70b2-4b02-ac0f-b668cbdc7e5c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HomeEquityInvestments_96d549c4-0022-4075-b374-2a3cf2817986" xlink:href="rwt-20240930.xsd#rwt_HomeEquityInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_rwt_HomeEquityInvestments_96d549c4-0022-4075-b374-2a3cf2817986" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_d6c5ba1e-104a-4370-9a5a-22789568004f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_OtherInvestments_d6c5ba1e-104a-4370-9a5a-22789568004f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_633dc141-9e12-4fde-873d-fa194ea4fa1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_633dc141-9e12-4fde-873d-fa194ea4fa1d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalents_642b531d-458d-4976-b050-45c33c8beddc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_642b531d-458d-4976-b050-45c33c8beddc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_38c12e39-266e-4cbf-b43d-435c1b095143" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_InterestReceivable_38c12e39-266e-4cbf-b43d-435c1b095143" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_ba7a4181-5669-478a-b35e-f54451b96c3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_OtherAssets_ba7a4181-5669-478a-b35e-f54451b96c3c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_fb66fa1c-5b8d-4c5a-bd5f-c95ae69e4bc9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_Assets_fb66fa1c-5b8d-4c5a-bd5f-c95ae69e4bc9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_f12a49b6-c20d-4318-9766-2c97bc581afb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_ShortTermBorrowings_f12a49b6-c20d-4318-9766-2c97bc581afb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0b22c977-c136-4caa-8209-164570fae68d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_0b22c977-c136-4caa-8209-164570fae68d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_8e0c002b-ae83-474e-9829-da4fb7e1d94d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_8e0c002b-ae83-474e-9829-da4fb7e1d94d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_ea7b7fae-41a8-49d3-8678-6e7c237daa74" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_SecuredDebt_ea7b7fae-41a8-49d3-8678-6e7c237daa74" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_01af2e15-1ee3-4de5-a331-8da45b3b83c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_Liabilities_01af2e15-1ee3-4de5-a331-8da45b3b83c1" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNet_4fc0a2b2-9fea-4d28-ace1-3ba1dda36d06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_AssetsNet_4fc0a2b2-9fea-4d28-ace1-3ba1dda36d06" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfVariableInterestEntitiesAcquiredAndConsolidated_4f291011-5a0e-4f16-bd4f-885ebd3bd361" xlink:href="rwt-20240930.xsd#rwt_NumberOfVariableInterestEntitiesAcquiredAndConsolidated"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_rwt_NumberOfVariableInterestEntitiesAcquiredAndConsolidated_4f291011-5a0e-4f16-bd4f-885ebd3bd361" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SecuritizationEntity_18238f98-1ca2-4b5e-8074-05376ec447fe" xlink:href="rwt-20240930.xsd#rwt_SecuritizationEntity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_rwt_SecuritizationEntity_18238f98-1ca2-4b5e-8074-05376ec447fe" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue_130dc157-6ab9-45d8-a064-f4e478ec1859" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedPrincipalInvestmentsAtFairValue_130dc157-6ab9-45d8-a064-f4e478ec1859" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_87c5c6d8-a0c1-4954-9f36-32018e978e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_6d5a3c88-9fb9-4589-8738-dbe6073787f2" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_87c5c6d8-a0c1-4954-9f36-32018e978e5b" xlink:type="arc" order="17"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofUnconsolidatedVariableInterestEntitysSponsoredbyRedwoodDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#PrinciplesofConsolidationScheduleofUnconsolidatedVariableInterestEntitysSponsoredbyRedwoodDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/PrinciplesofConsolidationScheduleofUnconsolidatedVariableInterestEntitysSponsoredbyRedwoodDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_efe899dd-6275-4040-b1c3-1f68842225de" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_82eeb30e-a869-4244-b2fa-a162e1d38903" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_efe899dd-6275-4040-b1c3-1f68842225de" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_82eeb30e-a869-4244-b2fa-a162e1d38903" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_e36f6e2d-68a3-4dac-a4c1-21b18cd29671" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_82eeb30e-a869-4244-b2fa-a162e1d38903" xlink:to="loc_us-gaap_InvestmentTypeAxis_e36f6e2d-68a3-4dac-a4c1-21b18cd29671" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_e36f6e2d-68a3-4dac-a4c1-21b18cd29671_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_e36f6e2d-68a3-4dac-a4c1-21b18cd29671" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_e36f6e2d-68a3-4dac-a4c1-21b18cd29671_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_ec2ef039-9a6c-462a-b5a4-3988b288dfc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_e36f6e2d-68a3-4dac-a4c1-21b18cd29671" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_ec2ef039-9a6c-462a-b5a4-3988b288dfc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_InterestOnlyStripAndSeniorSecuritiesMember_268d7185-488a-450b-a961-0495522c7a34" xlink:href="rwt-20240930.xsd#rwt_InterestOnlyStripAndSeniorSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_ec2ef039-9a6c-462a-b5a4-3988b288dfc2" xlink:to="loc_rwt_InterestOnlyStripAndSeniorSecuritiesMember_268d7185-488a-450b-a961-0495522c7a34" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MortgageServicingRightsMember_9bd4aeb0-3059-4288-8e53-2cf806a202be" xlink:href="rwt-20240930.xsd#rwt_MortgageServicingRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_ec2ef039-9a6c-462a-b5a4-3988b288dfc2" xlink:to="loc_rwt_MortgageServicingRightsMember_9bd4aeb0-3059-4288-8e53-2cf806a202be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_922e58a4-8ee4-4152-bbc0-e680fdd3f9eb" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_82eeb30e-a869-4244-b2fa-a162e1d38903" xlink:to="loc_srt_ConsolidatedEntitiesAxis_922e58a4-8ee4-4152-bbc0-e680fdd3f9eb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_922e58a4-8ee4-4152-bbc0-e680fdd3f9eb_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_922e58a4-8ee4-4152-bbc0-e680fdd3f9eb" xlink:to="loc_srt_ConsolidatedEntitiesDomain_922e58a4-8ee4-4152-bbc0-e680fdd3f9eb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_4abf3436-2075-44ff-a946-083df99ef08a" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_922e58a4-8ee4-4152-bbc0-e680fdd3f9eb" xlink:to="loc_srt_ConsolidatedEntitiesDomain_4abf3436-2075-44ff-a946-083df99ef08a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_bfd38bdc-12b4-4ddf-a51b-3deb1598a4a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_4abf3436-2075-44ff-a946-083df99ef08a" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_bfd38bdc-12b4-4ddf-a51b-3deb1598a4a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_9d789bb0-9ed9-49cf-b20b-4582afcfc310" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_82eeb30e-a869-4244-b2fa-a162e1d38903" xlink:to="loc_us-gaap_FinancialInstrumentAxis_9d789bb0-9ed9-49cf-b20b-4582afcfc310" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9d789bb0-9ed9-49cf-b20b-4582afcfc310_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9d789bb0-9ed9-49cf-b20b-4582afcfc310" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_9d789bb0-9ed9-49cf-b20b-4582afcfc310_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c4b590a2-ab56-4087-89bf-20a1eb76d613" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_9d789bb0-9ed9-49cf-b20b-4582afcfc310" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c4b590a2-ab56-4087-89bf-20a1eb76d613" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TotalSubordinateInvestmentSecuritiesMember_6d271c43-f731-4bf2-a982-4db1e6f588e0" xlink:href="rwt-20240930.xsd#rwt_TotalSubordinateInvestmentSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c4b590a2-ab56-4087-89bf-20a1eb76d613" xlink:to="loc_rwt_TotalSubordinateInvestmentSecuritiesMember_6d271c43-f731-4bf2-a982-4db1e6f588e0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_bbd15298-74ae-42b0-a060-4e849cc44631" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_efe899dd-6275-4040-b1c3-1f68842225de" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_bbd15298-74ae-42b0-a060-4e849cc44631" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt_2c602060-e6c7-4bf2-982b-7181b9b79dfa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_bbd15298-74ae-42b0-a060-4e849cc44631" xlink:to="loc_us-gaap_TradingSecuritiesDebt_2c602060-e6c7-4bf2-982b-7181b9b79dfa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e17249c7-db3e-49d2-8ecc-2a05da4d5e5f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_bbd15298-74ae-42b0-a060-4e849cc44631" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e17249c7-db3e-49d2-8ecc-2a05da4d5e5f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAssetAtFairValueAmount_bc52c934-7d1d-4179-af4b-2fd74733e1d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ServicingAssetAtFairValueAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_bbd15298-74ae-42b0-a060-4e849cc44631" xlink:to="loc_us-gaap_ServicingAssetAtFairValueAmount_bc52c934-7d1d-4179-af4b-2fd74733e1d2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_04dcd06b-2d60-4b7d-b4d8-1418469291a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_bbd15298-74ae-42b0-a060-4e849cc44631" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_04dcd06b-2d60-4b7d-b4d8-1418469291a1" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/AssetBackedSecuritiesIssuedScheduleofAssetBackedSecuritiesIssuedDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#AssetBackedSecuritiesIssuedScheduleofAssetBackedSecuritiesIssuedDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/AssetBackedSecuritiesIssuedScheduleofAssetBackedSecuritiesIssuedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_02919157-ef4a-4927-9c93-f60fcfcd7943" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_23455136-ebc8-4045-9279-8ba7db3ebb3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_02919157-ef4a-4927-9c93-f60fcfcd7943" xlink:to="loc_us-gaap_DebtInstrumentTable_23455136-ebc8-4045-9279-8ba7db3ebb3f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_cf502baa-4f18-4b68-a19f-6c942fcb066e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_23455136-ebc8-4045-9279-8ba7db3ebb3f" xlink:to="loc_us-gaap_DebtInstrumentAxis_cf502baa-4f18-4b68-a19f-6c942fcb066e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_cf502baa-4f18-4b68-a19f-6c942fcb066e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_cf502baa-4f18-4b68-a19f-6c942fcb066e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_cf502baa-4f18-4b68-a19f-6c942fcb066e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_539cba67-d984-40fa-8a40-4cc00bd9feb4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_cf502baa-4f18-4b68-a19f-6c942fcb066e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_539cba67-d984-40fa-8a40-4cc00bd9feb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_6900128c-4724-4aae-82b4-c93b9f180c8e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_539cba67-d984-40fa-8a40-4cc00bd9feb4" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_6900128c-4724-4aae-82b4-c93b9f180c8e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_AssetBackedSecuritiesIssuedAtFairValueMember_2cc1bd25-271b-430e-becb-8d78b0efebae" xlink:href="rwt-20240930.xsd#rwt_AssetBackedSecuritiesIssuedAtFairValueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetBackedSecuritiesMember_6900128c-4724-4aae-82b4-c93b9f180c8e" xlink:to="loc_rwt_AssetBackedSecuritiesIssuedAtFairValueMember_2cc1bd25-271b-430e-becb-8d78b0efebae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_7ad11d8f-a0d8-4301-900c-b23f0d56c899" xlink:href="rwt-20240930.xsd#rwt_SequoiaChoiceSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_AssetBackedSecuritiesIssuedAtFairValueMember_2cc1bd25-271b-430e-becb-8d78b0efebae" xlink:to="loc_rwt_SequoiaChoiceSecuritizationEntitiesMember_7ad11d8f-a0d8-4301-900c-b23f0d56c899" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesMember_3be7f2b9-b8bd-4f8a-bdd4-df38c86c0b43" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_AssetBackedSecuritiesIssuedAtFairValueMember_2cc1bd25-271b-430e-becb-8d78b0efebae" xlink:to="loc_rwt_CAFLSecuritizationEntitiesMember_3be7f2b9-b8bd-4f8a-bdd4-df38c86c0b43" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_bf2daca1-f0af-4524-8413-59fd157171f8" xlink:href="rwt-20240930.xsd#rwt_FreddieMacSLSTSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_AssetBackedSecuritiesIssuedAtFairValueMember_2cc1bd25-271b-430e-becb-8d78b0efebae" xlink:to="loc_rwt_FreddieMacSLSTSecuritizationEntitiesMember_bf2daca1-f0af-4524-8413-59fd157171f8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesMember_852e6cf7-e389-4dbd-8e49-b27c4d6f52af" xlink:href="rwt-20240930.xsd#rwt_FreddieMacKSeriesSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_AssetBackedSecuritiesIssuedAtFairValueMember_2cc1bd25-271b-430e-becb-8d78b0efebae" xlink:to="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesMember_852e6cf7-e389-4dbd-8e49-b27c4d6f52af" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PointMember_c1a8afbe-dafc-4672-8e6d-1b5d4d026dee" xlink:href="rwt-20240930.xsd#rwt_PointMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_AssetBackedSecuritiesIssuedAtFairValueMember_2cc1bd25-271b-430e-becb-8d78b0efebae" xlink:to="loc_rwt_PointMember_c1a8afbe-dafc-4672-8e6d-1b5d4d026dee" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_AssetBackedSecuritiesIssuedAtAmortizedCostMember_261160a7-dbab-455e-94cc-079cbee48ce6" xlink:href="rwt-20240930.xsd#rwt_AssetBackedSecuritiesIssuedAtAmortizedCostMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetBackedSecuritiesMember_6900128c-4724-4aae-82b4-c93b9f180c8e" xlink:to="loc_rwt_AssetBackedSecuritiesIssuedAtAmortizedCostMember_261160a7-dbab-455e-94cc-079cbee48ce6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesIssuedAtAmortizedCostMember_bc6ce6a9-d32e-4b76-bc13-0cec6b1d6a64" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesIssuedAtAmortizedCostMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_AssetBackedSecuritiesIssuedAtAmortizedCostMember_261160a7-dbab-455e-94cc-079cbee48ce6" xlink:to="loc_rwt_CAFLSecuritizationEntitiesIssuedAtAmortizedCostMember_bc6ce6a9-d32e-4b76-bc13-0cec6b1d6a64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesIssuedAtAmortizedCostMember_d18bf938-9436-4ab8-b3ae-49ed6e18d5de" xlink:href="rwt-20240930.xsd#rwt_FreddieMacKSeriesSecuritizationEntitiesIssuedAtAmortizedCostMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_AssetBackedSecuritiesIssuedAtAmortizedCostMember_261160a7-dbab-455e-94cc-079cbee48ce6" xlink:to="loc_rwt_FreddieMacKSeriesSecuritizationEntitiesIssuedAtAmortizedCostMember_d18bf938-9436-4ab8-b3ae-49ed6e18d5de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_42820777-0f78-402f-ab3a-a44c32ef43ab" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_23455136-ebc8-4045-9279-8ba7db3ebb3f" xlink:to="loc_srt_RangeAxis_42820777-0f78-402f-ab3a-a44c32ef43ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_42820777-0f78-402f-ab3a-a44c32ef43ab_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_42820777-0f78-402f-ab3a-a44c32ef43ab" xlink:to="loc_srt_RangeMember_42820777-0f78-402f-ab3a-a44c32ef43ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_15134f49-a92b-4b79-8c15-f66f37926037" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_42820777-0f78-402f-ab3a-a44c32ef43ab" xlink:to="loc_srt_RangeMember_15134f49-a92b-4b79-8c15-f66f37926037" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_0755a7bc-e120-4439-bc24-a564afe92cae" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_15134f49-a92b-4b79-8c15-f66f37926037" xlink:to="loc_srt_MinimumMember_0755a7bc-e120-4439-bc24-a564afe92cae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_7866b503-3ee2-485e-8a7c-6a6b00eadaa7" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_15134f49-a92b-4b79-8c15-f66f37926037" xlink:to="loc_srt_MaximumMember_7866b503-3ee2-485e-8a7c-6a6b00eadaa7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_c90815d8-1e7a-4d36-bfd7-8e44f8395de4" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_23455136-ebc8-4045-9279-8ba7db3ebb3f" xlink:to="loc_srt_ConsolidatedEntitiesAxis_c90815d8-1e7a-4d36-bfd7-8e44f8395de4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_c90815d8-1e7a-4d36-bfd7-8e44f8395de4_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_c90815d8-1e7a-4d36-bfd7-8e44f8395de4" xlink:to="loc_srt_ConsolidatedEntitiesDomain_c90815d8-1e7a-4d36-bfd7-8e44f8395de4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_289eb591-89f6-40c8-9d4f-1e0e83f4ac59" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_c90815d8-1e7a-4d36-bfd7-8e44f8395de4" xlink:to="loc_srt_ConsolidatedEntitiesDomain_289eb591-89f6-40c8-9d4f-1e0e83f4ac59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_7388e2f4-29c3-4466-9d6f-6d241dc618d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_289eb591-89f6-40c8-9d4f-1e0e83f4ac59" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_7388e2f4-29c3-4466-9d6f-6d241dc618d3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralAxis_e44ae508-a8d4-4c01-94a5-bcd08c2fc6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_23455136-ebc8-4045-9279-8ba7db3ebb3f" xlink:to="loc_us-gaap_CollateralAxis_e44ae508-a8d4-4c01-94a5-bcd08c2fc6ef" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_e44ae508-a8d4-4c01-94a5-bcd08c2fc6ef_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CollateralAxis_e44ae508-a8d4-4c01-94a5-bcd08c2fc6ef" xlink:to="loc_us-gaap_CollateralDomain_e44ae508-a8d4-4c01-94a5-bcd08c2fc6ef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralDomain_5f712b70-1ba5-4600-8faf-582ea906b3ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CollateralDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CollateralAxis_e44ae508-a8d4-4c01-94a5-bcd08c2fc6ef" xlink:to="loc_us-gaap_CollateralDomain_5f712b70-1ba5-4600-8faf-582ea906b3ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CollateralizedFinancingEntitiesMember_40608ffe-84e9-49b9-aeac-5f71863c9bf6" xlink:href="rwt-20240930.xsd#rwt_CollateralizedFinancingEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollateralDomain_5f712b70-1ba5-4600-8faf-582ea906b3ff" xlink:to="loc_rwt_CollateralizedFinancingEntitiesMember_40608ffe-84e9-49b9-aeac-5f71863c9bf6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_84c66363-aa8f-4419-b5dc-b1335fb4e69e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_02919157-ef4a-4927-9c93-f60fcfcd7943" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_84c66363-aa8f-4419-b5dc-b1335fb4e69e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_2754df81-5da3-4149-9f9e-7f475a3b7c76" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_02919157-ef4a-4927-9c93-f60fcfcd7943" xlink:to="loc_us-gaap_SecuredDebt_2754df81-5da3-4149-9f9e-7f475a3b7c76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_1addb77e-f812-4f25-b827-37effa44df16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_02919157-ef4a-4927-9c93-f60fcfcd7943" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_1addb77e-f812-4f25-b827-37effa44df16" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfSeries_dee82d69-4a5e-4d78-9496-229b99cf914c" xlink:href="rwt-20240930.xsd#rwt_NumberOfSeries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_02919157-ef4a-4927-9c93-f60fcfcd7943" xlink:to="loc_rwt_NumberOfSeries_dee82d69-4a5e-4d78-9496-229b99cf914c" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/AssetBackedSecuritiesIssuedAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#AssetBackedSecuritiesIssuedAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/AssetBackedSecuritiesIssuedAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_431755af-36e2-4d89-892a-989848e941c7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:to="loc_us-gaap_DebtInstrumentTable_431755af-36e2-4d89-892a-989848e941c7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_cb5c6bcc-eff7-4d7a-9cd4-be68a75a29c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_431755af-36e2-4d89-892a-989848e941c7" xlink:to="loc_us-gaap_DebtInstrumentAxis_cb5c6bcc-eff7-4d7a-9cd4-be68a75a29c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_cb5c6bcc-eff7-4d7a-9cd4-be68a75a29c6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_cb5c6bcc-eff7-4d7a-9cd4-be68a75a29c6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_cb5c6bcc-eff7-4d7a-9cd4-be68a75a29c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_bd38d38f-53a4-4cbe-98d0-69a81c2ef027" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_cb5c6bcc-eff7-4d7a-9cd4-be68a75a29c6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_bd38d38f-53a4-4cbe-98d0-69a81c2ef027" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_4a63c51c-6b15-4da6-a34f-fd10b38dfd14" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_bd38d38f-53a4-4cbe-98d0-69a81c2ef027" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_4a63c51c-6b15-4da6-a34f-fd10b38dfd14" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaSecuritiesMember_46723f9f-2877-4663-bcf0-5a2d89bea6c9" xlink:href="rwt-20240930.xsd#rwt_SequoiaSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_bd38d38f-53a4-4cbe-98d0-69a81c2ef027" xlink:to="loc_rwt_SequoiaSecuritiesMember_46723f9f-2877-4663-bcf0-5a2d89bea6c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaReSecuritizationTrustMember_817df8bd-dcec-4573-9146-4f51dda3bed2" xlink:href="rwt-20240930.xsd#rwt_SequoiaReSecuritizationTrustMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_bd38d38f-53a4-4cbe-98d0-69a81c2ef027" xlink:to="loc_rwt_SequoiaReSecuritizationTrustMember_817df8bd-dcec-4573-9146-4f51dda3bed2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaSecuritizationTrustsMember_cd1da44e-136f-4d6d-a9e7-5aac4d2baf88" xlink:href="rwt-20240930.xsd#rwt_SequoiaSecuritizationTrustsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_bd38d38f-53a4-4cbe-98d0-69a81c2ef027" xlink:to="loc_rwt_SequoiaSecuritizationTrustsMember_cd1da44e-136f-4d6d-a9e7-5aac4d2baf88" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_2623d5f9-b052-4f11-a243-2e10269f46b2" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_431755af-36e2-4d89-892a-989848e941c7" xlink:to="loc_srt_ConsolidatedEntitiesAxis_2623d5f9-b052-4f11-a243-2e10269f46b2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_2623d5f9-b052-4f11-a243-2e10269f46b2_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_2623d5f9-b052-4f11-a243-2e10269f46b2" xlink:to="loc_srt_ConsolidatedEntitiesDomain_2623d5f9-b052-4f11-a243-2e10269f46b2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_90016d3a-d3f8-4d3e-8bb9-b0ec4bf89d64" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_2623d5f9-b052-4f11-a243-2e10269f46b2" xlink:to="loc_srt_ConsolidatedEntitiesDomain_90016d3a-d3f8-4d3e-8bb9-b0ec4bf89d64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_30372577-f76b-49a2-89f7-51b15b32cc7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_90016d3a-d3f8-4d3e-8bb9-b0ec4bf89d64" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_30372577-f76b-49a2-89f7-51b15b32cc7a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_9acb0c5f-6fba-4341-848d-9ea0feea25df" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_431755af-36e2-4d89-892a-989848e941c7" xlink:to="loc_srt_StatementScenarioAxis_9acb0c5f-6fba-4341-848d-9ea0feea25df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_9acb0c5f-6fba-4341-848d-9ea0feea25df_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_9acb0c5f-6fba-4341-848d-9ea0feea25df" xlink:to="loc_srt_ScenarioUnspecifiedDomain_9acb0c5f-6fba-4341-848d-9ea0feea25df_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_8f4c4ccf-5c99-4bf3-8bf2-87d0b6ac163a" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_9acb0c5f-6fba-4341-848d-9ea0feea25df" xlink:to="loc_srt_ScenarioUnspecifiedDomain_8f4c4ccf-5c99-4bf3-8bf2-87d0b6ac163a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_212cbc00-202a-4b61-aa3a-389739185546" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_8f4c4ccf-5c99-4bf3-8bf2-87d0b6ac163a" xlink:to="loc_srt_ScenarioForecastMember_212cbc00-202a-4b61-aa3a-389739185546" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LongTermMarketableSecuritiesMaturitiesTerm_fe6d0a72-c153-4a13-9a4a-0b282954f220" xlink:href="rwt-20240930.xsd#rwt_LongTermMarketableSecuritiesMaturitiesTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:to="loc_rwt_LongTermMarketableSecuritiesMaturitiesTerm_fe6d0a72-c153-4a13-9a4a-0b282954f220" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_DebtInstrumentAssetBackedSecuritiesSold_758c4dbc-9db8-4bb5-94b1-8bca34dd5628" xlink:href="rwt-20240930.xsd#rwt_DebtInstrumentAssetBackedSecuritiesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:to="loc_rwt_DebtInstrumentAssetBackedSecuritiesSold_758c4dbc-9db8-4bb5-94b1-8bca34dd5628" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d703e26f-ef90-48e1-85cb-cfb8889bae34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_d703e26f-ef90-48e1-85cb-cfb8889bae34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateIncreaseDecrease_1087b77c-1615-45f6-b0a8-2ef52fd1a283" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentInterestRateIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:to="loc_us-gaap_DebtInstrumentInterestRateIncreaseDecrease_1087b77c-1615-45f6-b0a8-2ef52fd1a283" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCollateralAmount_d9edcd3b-479c-4e8e-9bd0-c9fe4bfcd5be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:to="loc_us-gaap_DebtInstrumentCollateralAmount_d9edcd3b-479c-4e8e-9bd0-c9fe4bfcd5be" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityOwnershipPercentage_323d24ee-eb39-4e8a-9f21-ca7eb3f99322" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableInterestEntityOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ef85bacc-7689-4328-b3b0-dd57d36e01c5" xlink:to="loc_us-gaap_VariableInterestEntityOwnershipPercentage_323d24ee-eb39-4e8a-9f21-ca7eb3f99322" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/DebtObligationsNetScheduleofDebtObligationsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#DebtObligationsNetScheduleofDebtObligationsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/DebtObligationsNetScheduleofDebtObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_a63ef48b-a7ed-4e00-9e92-6d589ae8488f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:to="loc_us-gaap_DebtInstrumentTable_a63ef48b-a7ed-4e00-9e92-6d589ae8488f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_e6568700-80d9-4241-bc15-a7b50cfeb7fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a63ef48b-a7ed-4e00-9e92-6d589ae8488f" xlink:to="loc_us-gaap_DebtInstrumentAxis_e6568700-80d9-4241-bc15-a7b50cfeb7fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_e6568700-80d9-4241-bc15-a7b50cfeb7fd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_e6568700-80d9-4241-bc15-a7b50cfeb7fd" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_e6568700-80d9-4241-bc15-a7b50cfeb7fd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_63895769-bc12-47ce-b183-98f832036da3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_e6568700-80d9-4241-bc15-a7b50cfeb7fd" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_63895769-bc12-47ce-b183-98f832036da3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtMember_5c9bf85b-c1b6-4909-bf38-06e407507540" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_63895769-bc12-47ce-b183-98f832036da3" xlink:to="loc_us-gaap_ShortTermDebtMember_5c9bf85b-c1b6-4909-bf38-06e407507540" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubordinatedDebtMember_1ea01974-6b9e-4025-95b2-b818aabc9149" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubordinatedDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_63895769-bc12-47ce-b183-98f832036da3" xlink:to="loc_us-gaap_SubordinatedDebtMember_1ea01974-6b9e-4025-95b2-b818aabc9149" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMember_91ef3862-9802-4090-a2ce-8836eeee92b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_63895769-bc12-47ce-b183-98f832036da3" xlink:to="loc_us-gaap_LongTermDebtMember_91ef3862-9802-4090-a2ce-8836eeee92b4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_95ccbf00-0255-4614-b19e-e2bb460e903a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_63895769-bc12-47ce-b183-98f832036da3" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_95ccbf00-0255-4614-b19e-e2bb460e903a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_691a2381-d90e-423e-a009-ae044bab47f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a63ef48b-a7ed-4e00-9e92-6d589ae8488f" xlink:to="loc_us-gaap_FinancialInstrumentAxis_691a2381-d90e-423e-a009-ae044bab47f9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_691a2381-d90e-423e-a009-ae044bab47f9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_691a2381-d90e-423e-a009-ae044bab47f9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_691a2381-d90e-423e-a009-ae044bab47f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_691a2381-d90e-423e-a009-ae044bab47f9" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialConsumerLoanWarehouseFacilitiesMember_452a4a22-f2e9-4d81-bf43-937095ec2725" xlink:href="rwt-20240930.xsd#rwt_ResidentialConsumerLoanWarehouseFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_ResidentialConsumerLoanWarehouseFacilitiesMember_452a4a22-f2e9-4d81-bf43-937095ec2725" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialInvestorLoanWarehouseFacilitiesMember_420e8ab0-6b53-42f2-a39f-033051c01ea2" xlink:href="rwt-20240930.xsd#rwt_ResidentialInvestorLoanWarehouseFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_ResidentialInvestorLoanWarehouseFacilitiesMember_420e8ab0-6b53-42f2-a39f-033051c01ea2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RealEstateSecuritiesRepurchaseFacilitiesMember_7dff3508-4c3a-48f4-ba3e-6d8780ae7a03" xlink:href="rwt-20240930.xsd#rwt_RealEstateSecuritiesRepurchaseFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_RealEstateSecuritiesRepurchaseFacilitiesMember_7dff3508-4c3a-48f4-ba3e-6d8780ae7a03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ResidentialMSRWarehouseFacilityMember_628104fe-cfc1-4596-a4f2-84d91cadd36d" xlink:href="rwt-20240930.xsd#rwt_ResidentialMSRWarehouseFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_ResidentialMSRWarehouseFacilityMember_628104fe-cfc1-4596-a4f2-84d91cadd36d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_HEIWarehouseFacilityMember_b6c6ef1c-470a-4263-9584-d8c2a26b18fc" xlink:href="rwt-20240930.xsd#rwt_HEIWarehouseFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_HEIWarehouseFacilityMember_b6c6ef1c-470a-4263-9584-d8c2a26b18fc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicerAdvanceFinancingMember_56554f33-fc86-4ce1-bb8b-82bcef4539bd" xlink:href="rwt-20240930.xsd#rwt_ServicerAdvanceFinancingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_ServicerAdvanceFinancingMember_56554f33-fc86-4ce1-bb8b-82bcef4539bd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SequoiaSecuritiesMember_c1dc3eda-eaf8-4d61-ac25-75cb6ff6803a" xlink:href="rwt-20240930.xsd#rwt_SequoiaSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_SequoiaSecuritiesMember_c1dc3eda-eaf8-4d61-ac25-75cb6ff6803a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecurities1Member_42cccbee-c889-49b0-9413-68ecf75a0d30" xlink:href="rwt-20240930.xsd#rwt_CAFLSecurities1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_CAFLSecurities1Member_42cccbee-c889-49b0-9413-68ecf75a0d30" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecurities2Member_c1dc0f24-fda2-4507-823e-e1fe53e05773" xlink:href="rwt-20240930.xsd#rwt_CAFLSecurities2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_CAFLSecurities2Member_c1dc0f24-fda2-4507-823e-e1fe53e05773" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LongTermResidentialInvestorFacilitiesMember_6a48de45-a5b4-40f8-8bd8-2f3ea9f1b317" xlink:href="rwt-20240930.xsd#rwt_LongTermResidentialInvestorFacilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_LongTermResidentialInvestorFacilitiesMember_6a48de45-a5b4-40f8-8bd8-2f3ea9f1b317" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PromissoryNotesMember_96a91f09-3b86-4acd-9011-92215170965c" xlink:href="rwt-20240930.xsd#rwt_PromissoryNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_PromissoryNotesMember_96a91f09-3b86-4acd-9011-92215170965c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CorporateSecuredRevolvingFinancingFacilityMember_a95d09f6-17fb-46e7-8fb9-74c21da7e8c6" xlink:href="rwt-20240930.xsd#rwt_CorporateSecuredRevolvingFinancingFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_CorporateSecuredRevolvingFinancingFacilityMember_a95d09f6-17fb-46e7-8fb9-74c21da7e8c6" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A5.625ConvertibleSeniorNotesMember_c7c68d0d-165d-4838-8ae8-ccbbd6acd141" xlink:href="rwt-20240930.xsd#rwt_A5.625ConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_A5.625ConvertibleSeniorNotesMember_c7c68d0d-165d-4838-8ae8-ccbbd6acd141" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A5.75ExchangeableSeniorNotesMember_1dccc9ed-ed62-480c-9741-d400196dc38d" xlink:href="rwt-20240930.xsd#rwt_A5.75ExchangeableSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_A5.75ExchangeableSeniorNotesMember_1dccc9ed-ed62-480c-9741-d400196dc38d" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A7.75ConvertibleSeniorNotesMember_ca09dcd7-4b3c-4256-9516-7d18f1cb533e" xlink:href="rwt-20240930.xsd#rwt_A7.75ConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_A7.75ConvertibleSeniorNotesMember_ca09dcd7-4b3c-4256-9516-7d18f1cb533e" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_TrustPreferredSecuritiesAndSubordinatedNotesMember_7bfbec89-6f08-404f-902d-aab17cb89266" xlink:href="rwt-20240930.xsd#rwt_TrustPreferredSecuritiesAndSubordinatedNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_TrustPreferredSecuritiesAndSubordinatedNotesMember_7bfbec89-6f08-404f-902d-aab17cb89266" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A9.125SeniorNotesMember_7daa2bce-68fc-4ec1-9c35-c555d82b32c7" xlink:href="rwt-20240930.xsd#rwt_A9.125SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_A9.125SeniorNotesMember_7daa2bce-68fc-4ec1-9c35-c555d82b32c7" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NinePointZeroPercentSeniorNotesDueTwentyTwentyNineMember_c2bd14d6-4c7f-460a-a7e0-6007f38193a3" xlink:href="rwt-20240930.xsd#rwt_NinePointZeroPercentSeniorNotesDueTwentyTwentyNineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_f2d1205f-3e12-45cf-84cc-57ca77ae6a44" xlink:to="loc_rwt_NinePointZeroPercentSeniorNotesDueTwentyTwentyNineMember_c2bd14d6-4c7f-460a-a7e0-6007f38193a3" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_6bda3f3b-b79a-4898-885c-78eb34c99363" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a63ef48b-a7ed-4e00-9e92-6d589ae8488f" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_6bda3f3b-b79a-4898-885c-78eb34c99363" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_6bda3f3b-b79a-4898-885c-78eb34c99363_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_6bda3f3b-b79a-4898-885c-78eb34c99363" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_6bda3f3b-b79a-4898-885c-78eb34c99363_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_aa6d244b-d973-46bb-9251-d7c1d94d5cdd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_6bda3f3b-b79a-4898-885c-78eb34c99363" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_aa6d244b-d973-46bb-9251-d7c1d94d5cdd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_9993572e-d7f8-413c-a2dd-ea04c4c42648" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_aa6d244b-d973-46bb-9251-d7c1d94d5cdd" xlink:to="loc_us-gaap_LineOfCreditMember_9993572e-d7f8-413c-a2dd-ea04c4c42648" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ServicerAdvanceFinancingMember_c2be6dab-042c-4b70-a592-9a18e904b383" xlink:href="rwt-20240930.xsd#rwt_ServicerAdvanceFinancingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_aa6d244b-d973-46bb-9251-d7c1d94d5cdd" xlink:to="loc_rwt_ServicerAdvanceFinancingMember_c2be6dab-042c-4b70-a592-9a18e904b383" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_773a951b-73f4-4227-89cc-8b1a0783de88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a63ef48b-a7ed-4e00-9e92-6d589ae8488f" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_773a951b-73f4-4227-89cc-8b1a0783de88" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_773a951b-73f4-4227-89cc-8b1a0783de88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_773a951b-73f4-4227-89cc-8b1a0783de88" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_773a951b-73f4-4227-89cc-8b1a0783de88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_79ddd658-5201-44c4-b18e-e84fdf755717" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_773a951b-73f4-4227-89cc-8b1a0783de88" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_79ddd658-5201-44c4-b18e-e84fdf755717" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_d5f60d7c-a92a-4467-9f9f-ccecfb53ec14" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_79ddd658-5201-44c4-b18e-e84fdf755717" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_d5f60d7c-a92a-4467-9f9f-ccecfb53ec14" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_02d384c5-f080-4547-b32b-225a8d9453e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_79ddd658-5201-44c4-b18e-e84fdf755717" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_02d384c5-f080-4547-b32b-225a8d9453e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_0c30e11d-6b3f-4086-97ec-1ffae733a8ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_a63ef48b-a7ed-4e00-9e92-6d589ae8488f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_0c30e11d-6b3f-4086-97ec-1ffae733a8ff" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_0c30e11d-6b3f-4086-97ec-1ffae733a8ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0c30e11d-6b3f-4086-97ec-1ffae733a8ff" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_0c30e11d-6b3f-4086-97ec-1ffae733a8ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f6011517-e7fa-4f64-b55e-9a9322295e92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0c30e11d-6b3f-4086-97ec-1ffae733a8ff" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f6011517-e7fa-4f64-b55e-9a9322295e92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_082898c6-dcf9-4c7d-b5c0-3b4bf61e14e1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f6011517-e7fa-4f64-b55e-9a9322295e92" xlink:to="loc_us-gaap_LineOfCreditMember_082898c6-dcf9-4c7d-b5c0-3b4bf61e14e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_46dd11a9-d239-4fbf-9092-435c97b90578" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f6011517-e7fa-4f64-b55e-9a9322295e92" xlink:to="loc_us-gaap_ConvertibleDebtMember_46dd11a9-d239-4fbf-9092-435c97b90578" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExchangeableDebtMember_376200d7-d825-4c48-b55a-b88d93108691" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExchangeableDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f6011517-e7fa-4f64-b55e-9a9322295e92" xlink:to="loc_us-gaap_ExchangeableDebtMember_376200d7-d825-4c48-b55a-b88d93108691" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_1d3c52a8-dbde-45f1-8778-c1cbd236d3c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f6011517-e7fa-4f64-b55e-9a9322295e92" xlink:to="loc_us-gaap_UnsecuredDebtMember_1d3c52a8-dbde-45f1-8778-c1cbd236d3c2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfFacilities_5401b6b6-4980-4a45-8a49-4203d3fd4e8c" xlink:href="rwt-20240930.xsd#rwt_NumberOfFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:to="loc_rwt_NumberOfFacilities_5401b6b6-4980-4a45-8a49-4203d3fd4e8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_a4b321e7-a9f6-4eb1-9632-933c160a6594" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_a4b321e7-a9f6-4eb1-9632-933c160a6594" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_b70c985b-9554-4f48-ba51-c5407d802e8c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_b70c985b-9554-4f48-ba51-c5407d802e8c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_58e2fb7b-03d7-4410-aeb3-d8a2a8d10ab6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_58e2fb7b-03d7-4410-aeb3-d8a2a8d10ab6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_44ae7d4e-90dc-4dc9-b43d-baddaa9912cb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_44ae7d4e-90dc-4dc9-b43d-baddaa9912cb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCollateralAmount_0583c9a6-3c42-48e0-8066-bd933db3dd2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ac313dd7-d1fb-4eb3-848c-3ad7d4a90149" xlink:to="loc_us-gaap_DebtInstrumentCollateralAmount_0583c9a6-3c42-48e0-8066-bd933db3dd2c" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/DebtObligationsNetAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#DebtObligationsNetAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/DebtObligationsNetAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_bb33bb2d-e540-4b07-b1c5-21f58fd6031f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_srt_ConsolidatedEntitiesAxis_bb33bb2d-e540-4b07-b1c5-21f58fd6031f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_bb33bb2d-e540-4b07-b1c5-21f58fd6031f_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_bb33bb2d-e540-4b07-b1c5-21f58fd6031f" xlink:to="loc_srt_ConsolidatedEntitiesDomain_bb33bb2d-e540-4b07-b1c5-21f58fd6031f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ee2f8eac-4326-4d64-b363-5b9f2e9ffb8c" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_bb33bb2d-e540-4b07-b1c5-21f58fd6031f" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ee2f8eac-4326-4d64-b363-5b9f2e9ffb8c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CAFLSecuritizationEntitiesMember_263ea877-656d-4b0b-86b7-fa38815e1a07" xlink:href="rwt-20240930.xsd#rwt_CAFLSecuritizationEntitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_ee2f8eac-4326-4d64-b363-5b9f2e9ffb8c" xlink:to="loc_rwt_CAFLSecuritizationEntitiesMember_263ea877-656d-4b0b-86b7-fa38815e1a07" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_a21c335a-d2aa-4f6b-a00b-80acd7201dbf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_us-gaap_DebtInstrumentAxis_a21c335a-d2aa-4f6b-a00b-80acd7201dbf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a21c335a-d2aa-4f6b-a00b-80acd7201dbf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_a21c335a-d2aa-4f6b-a00b-80acd7201dbf" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a21c335a-d2aa-4f6b-a00b-80acd7201dbf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_a21c335a-d2aa-4f6b-a00b-80acd7201dbf" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RecourseSubordinateSecuritiesFinancingReceivableMember_f5c1837e-09da-4856-8646-e00e2b78e641" xlink:href="rwt-20240930.xsd#rwt_RecourseSubordinateSecuritiesFinancingReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:to="loc_rwt_RecourseSubordinateSecuritiesFinancingReceivableMember_f5c1837e-09da-4856-8646-e00e2b78e641" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_51124041-5865-42e3-b719-247098273bef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_51124041-5865-42e3-b719-247098273bef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OtherRecourseFinancingFacilityMember_a9f0f3f2-499c-4de7-914d-2320555d2a78" xlink:href="rwt-20240930.xsd#rwt_OtherRecourseFinancingFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:to="loc_rwt_OtherRecourseFinancingFacilityMember_a9f0f3f2-499c-4de7-914d-2320555d2a78" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A9125SeniorNotesDue2029Member_308337fc-b4e2-4f8a-84e5-725be5d7451f" xlink:href="rwt-20240930.xsd#rwt_A9125SeniorNotesDue2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:to="loc_rwt_A9125SeniorNotesDue2029Member_308337fc-b4e2-4f8a-84e5-725be5d7451f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A7.75ConvertibleSeniorNotesMember_f39c6a75-a3a3-4996-bbf1-2f4bae8cdc7e" xlink:href="rwt-20240930.xsd#rwt_A7.75ConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:to="loc_rwt_A7.75ConvertibleSeniorNotesMember_f39c6a75-a3a3-4996-bbf1-2f4bae8cdc7e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExchangeableSeniorNotesDue2027Member_bc3ddb08-45d7-452a-9e87-22e3bbfe2123" xlink:href="rwt-20240930.xsd#rwt_ExchangeableSeniorNotesDue2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cc9fdcf7-941e-4603-ae56-426fbe04232d" xlink:to="loc_rwt_ExchangeableSeniorNotesDue2027Member_bc3ddb08-45d7-452a-9e87-22e3bbfe2123" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4cdc091e-ad51-4ca0-b5ae-a3944bad07a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4cdc091e-ad51-4ca0-b5ae-a3944bad07a2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_4cdc091e-ad51-4ca0-b5ae-a3944bad07a2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4cdc091e-ad51-4ca0-b5ae-a3944bad07a2" xlink:to="loc_us-gaap_RelatedPartyDomain_4cdc091e-ad51-4ca0-b5ae-a3944bad07a2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_6c2d521e-bac5-402a-a3c8-d24384395e85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_4cdc091e-ad51-4ca0-b5ae-a3944bad07a2" xlink:to="loc_us-gaap_RelatedPartyDomain_6c2d521e-bac5-402a-a3c8-d24384395e85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AffiliatedEntityMember_b68c6dec-af64-476b-ae16-1600866c4220" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_AffiliatedEntityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_6c2d521e-bac5-402a-a3c8-d24384395e85" xlink:to="loc_srt_AffiliatedEntityMember_b68c6dec-af64-476b-ae16-1600866c4220" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_e4601fe6-7e3c-46d5-94f0-d737db92c592" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_dei_LegalEntityAxis_e4601fe6-7e3c-46d5-94f0-d737db92c592" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_e4601fe6-7e3c-46d5-94f0-d737db92c592_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_e4601fe6-7e3c-46d5-94f0-d737db92c592" xlink:to="loc_dei_EntityDomain_e4601fe6-7e3c-46d5-94f0-d737db92c592_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_0a410b0d-91d1-4048-b45a-256e66c7a3a8" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_e4601fe6-7e3c-46d5-94f0-d737db92c592" xlink:to="loc_dei_EntityDomain_0a410b0d-91d1-4048-b45a-256e66c7a3a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_RedwoodTrustInc.Member_203c608b-05b3-400f-95c9-18b0ed019c45" xlink:href="rwt-20240930.xsd#rwt_RedwoodTrustInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_0a410b0d-91d1-4048-b45a-256e66c7a3a8" xlink:to="loc_rwt_RedwoodTrustInc.Member_203c608b-05b3-400f-95c9-18b0ed019c45" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardDateAxis_ae0fb702-91d8-46b4-b990-e1ad6023e9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_us-gaap_AwardDateAxis_ae0fb702-91d8-46b4-b990-e1ad6023e9dd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardDateDomain_ae0fb702-91d8-46b4-b990-e1ad6023e9dd_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardDateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_ae0fb702-91d8-46b4-b990-e1ad6023e9dd" xlink:to="loc_us-gaap_AwardDateDomain_ae0fb702-91d8-46b4-b990-e1ad6023e9dd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardDateDomain_1c05c5d7-1e53-4ed6-b69c-93939f442dd4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardDateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_ae0fb702-91d8-46b4-b990-e1ad6023e9dd" xlink:to="loc_us-gaap_AwardDateDomain_1c05c5d7-1e53-4ed6-b69c-93939f442dd4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_October2027ThroughSeptember2028Member_6c942abc-d374-47f5-bcf8-e73a893a5000" xlink:href="rwt-20240930.xsd#rwt_October2027ThroughSeptember2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AwardDateDomain_1c05c5d7-1e53-4ed6-b69c-93939f442dd4" xlink:to="loc_rwt_October2027ThroughSeptember2028Member_6c942abc-d374-47f5-bcf8-e73a893a5000" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_3fa19dd1-ee35-4c82-90ac-1a59d493060b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_us-gaap_FinancialInstrumentAxis_3fa19dd1-ee35-4c82-90ac-1a59d493060b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3fa19dd1-ee35-4c82-90ac-1a59d493060b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_3fa19dd1-ee35-4c82-90ac-1a59d493060b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3fa19dd1-ee35-4c82-90ac-1a59d493060b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_fe5032b6-de1c-43de-aa50-9033540c5fe5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_3fa19dd1-ee35-4c82-90ac-1a59d493060b" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_fe5032b6-de1c-43de-aa50-9033540c5fe5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A250MillionFacilityMember_cbf03d97-9c4a-45a4-af5e-0a8de486530c" xlink:href="rwt-20240930.xsd#rwt_A250MillionFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_fe5032b6-de1c-43de-aa50-9033540c5fe5" xlink:to="loc_rwt_A250MillionFacilityMember_cbf03d97-9c4a-45a4-af5e-0a8de486530c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A9.125SeniorNotesMember_795d185d-933c-4cea-b39e-b5c47ec6c3a8" xlink:href="rwt-20240930.xsd#rwt_A9.125SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_fe5032b6-de1c-43de-aa50-9033540c5fe5" xlink:to="loc_rwt_A9.125SeniorNotesMember_795d185d-933c-4cea-b39e-b5c47ec6c3a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NinePointZeroPercentSeniorNotesDueTwentyTwentyNineMember_c95da464-ec02-41e4-a3f0-f40f3e571159" xlink:href="rwt-20240930.xsd#rwt_NinePointZeroPercentSeniorNotesDueTwentyTwentyNineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_fe5032b6-de1c-43de-aa50-9033540c5fe5" xlink:to="loc_rwt_NinePointZeroPercentSeniorNotesDueTwentyTwentyNineMember_c95da464-ec02-41e4-a3f0-f40f3e571159" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_A5.625ConvertibleSeniorNotesMember_914fe0d8-e4a8-47f0-a463-fa839d3a76a6" xlink:href="rwt-20240930.xsd#rwt_A5.625ConvertibleSeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_fe5032b6-de1c-43de-aa50-9033540c5fe5" xlink:to="loc_rwt_A5.625ConvertibleSeniorNotesMember_914fe0d8-e4a8-47f0-a463-fa839d3a76a6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_c7e7790f-bc49-4c10-92e8-65e73e8e66b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_c7e7790f-bc49-4c10-92e8-65e73e8e66b3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_c7e7790f-bc49-4c10-92e8-65e73e8e66b3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_c7e7790f-bc49-4c10-92e8-65e73e8e66b3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_c7e7790f-bc49-4c10-92e8-65e73e8e66b3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_e58b2de3-0a9e-4a23-b520-005e73beccd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_c7e7790f-bc49-4c10-92e8-65e73e8e66b3" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_e58b2de3-0a9e-4a23-b520-005e73beccd2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_74f6aa1a-36bc-4251-95d7-bd05d1534923" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_e58b2de3-0a9e-4a23-b520-005e73beccd2" xlink:to="loc_us-gaap_LineOfCreditMember_74f6aa1a-36bc-4251-95d7-bd05d1534923" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_03828f51-92a4-473c-8d44-df947056ed3d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_e58b2de3-0a9e-4a23-b520-005e73beccd2" xlink:to="loc_us-gaap_UnsecuredDebtMember_03828f51-92a4-473c-8d44-df947056ed3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_7bc7f282-5e87-4581-930e-aced136d7b93" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_e58b2de3-0a9e-4a23-b520-005e73beccd2" xlink:to="loc_us-gaap_ConvertibleDebtMember_7bc7f282-5e87-4581-930e-aced136d7b93" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis_bb5ef3f1-4f54-4abb-9235-d8da3ee2c24c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExtinguishmentOfDebtAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_f0dc809d-974d-444d-b51f-7eae2557c87e" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_bb5ef3f1-4f54-4abb-9235-d8da3ee2c24c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_bb5ef3f1-4f54-4abb-9235-d8da3ee2c24c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_bb5ef3f1-4f54-4abb-9235-d8da3ee2c24c" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_bb5ef3f1-4f54-4abb-9235-d8da3ee2c24c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_7cd2cf73-16ba-4b9c-a07f-91b7d04b185f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_bb5ef3f1-4f54-4abb-9235-d8da3ee2c24c" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_7cd2cf73-16ba-4b9c-a07f-91b7d04b185f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_9236cb67-98ae-4677-80cc-bd6ee6fc14bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_7cd2cf73-16ba-4b9c-a07f-91b7d04b185f" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_9236cb67-98ae-4677-80cc-bd6ee6fc14bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_NumberOfFacilities_ad1376c9-6b0b-4213-b690-2ecff53c6c3e" xlink:href="rwt-20240930.xsd#rwt_NumberOfFacilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_rwt_NumberOfFacilities_ad1376c9-6b0b-4213-b690-2ecff53c6c3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtWeightedAverageInterestRateOverTime_6e6cc2ce-d88f-401e-b771-50e7ad4646f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtWeightedAverageInterestRateOverTime"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_LongTermDebtWeightedAverageInterestRateOverTime_6e6cc2ce-d88f-401e-b771-50e7ad4646f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_f9708d7a-8a3f-49e3-b8bd-ab473c410274" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_f9708d7a-8a3f-49e3-b8bd-ab473c410274" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_b28db1ad-6aeb-4dbb-bcf5-bce47c3b7053" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_b28db1ad-6aeb-4dbb-bcf5-bce47c3b7053" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LineOfCreditFacilityLengthOfExtensionOption_d7541719-3277-404b-a058-4043b1775c9d" xlink:href="rwt-20240930.xsd#rwt_LineOfCreditFacilityLengthOfExtensionOption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_rwt_LineOfCreditFacilityLengthOfExtensionOption_d7541719-3277-404b-a058-4043b1775c9d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_cbba4beb-65de-4019-8994-626ea0bca794" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_cbba4beb-65de-4019-8994-626ea0bca794" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f9eb930a-683c-4dae-8d29-4e04e45dc378" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f9eb930a-683c-4dae-8d29-4e04e45dc378" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_da9060ed-46b4-446f-8bfb-83c8b8252f6f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_da9060ed-46b4-446f-8bfb-83c8b8252f6f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_bbd3b2ff-8f69-4204-95d2-3c41803be87c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_bbd3b2ff-8f69-4204-95d2-3c41803be87c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfConvertibleDebt_5415c6f2-1bf0-469c-a53e-3c34201ebab2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_5415c6f2-1bf0-469c-a53e-3c34201ebab2" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_7964e252-94f0-461c-a7a5-81712d2d20ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0c8b5ca0-e5a5-4175-aaea-c780f97d7694" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_7964e252-94f0-461c-a7a5-81712d2d20ce" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#CommitmentsandContingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/CommitmentsandContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_b27712d4-d653-4cb4-88ff-575d19cf817f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_LossContingenciesTable_b27712d4-d653-4cb4-88ff-575d19cf817f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsAxis_a3f131e7-7310-4269-8fc2-dec28c5f62fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b27712d4-d653-4cb4-88ff-575d19cf817f" xlink:to="loc_us-gaap_OtherCommitmentsAxis_a3f131e7-7310-4269-8fc2-dec28c5f62fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_a3f131e7-7310-4269-8fc2-dec28c5f62fe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_a3f131e7-7310-4269-8fc2-dec28c5f62fe" xlink:to="loc_us-gaap_OtherCommitmentsDomain_a3f131e7-7310-4269-8fc2-dec28c5f62fe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_aa678219-02d7-4f30-8b63-7070b33ae1e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_a3f131e7-7310-4269-8fc2-dec28c5f62fe" xlink:to="loc_us-gaap_OtherCommitmentsDomain_aa678219-02d7-4f30-8b63-7070b33ae1e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CommitmentToFundResidentialInvestorBridgeLoanMember_f840036c-9493-4f9c-b9ac-5e9b7e9c510f" xlink:href="rwt-20240930.xsd#rwt_CommitmentToFundResidentialInvestorBridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_aa678219-02d7-4f30-8b63-7070b33ae1e2" xlink:to="loc_rwt_CommitmentToFundResidentialInvestorBridgeLoanMember_f840036c-9493-4f9c-b9ac-5e9b7e9c510f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_830b0a66-149c-40b6-a3e5-fbda4fceb68a" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b27712d4-d653-4cb4-88ff-575d19cf817f" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_830b0a66-149c-40b6-a3e5-fbda4fceb68a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_830b0a66-149c-40b6-a3e5-fbda4fceb68a_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_830b0a66-149c-40b6-a3e5-fbda4fceb68a" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_830b0a66-149c-40b6-a3e5-fbda4fceb68a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_e6bfead6-669f-42d9-93f7-ac0e13b15da6" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_830b0a66-149c-40b6-a3e5-fbda4fceb68a" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_e6bfead6-669f-42d9-93f7-ac0e13b15da6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_CPPJointVentureResidentialInvestorBridgeAndTermLoansMember_26798d1a-17cb-4c91-b2cc-fb3b94e3e508" xlink:href="rwt-20240930.xsd#rwt_CPPJointVentureResidentialInvestorBridgeAndTermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_e6bfead6-669f-42d9-93f7-ac0e13b15da6" xlink:to="loc_rwt_CPPJointVentureResidentialInvestorBridgeAndTermLoansMember_26798d1a-17cb-4c91-b2cc-fb3b94e3e508" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OaktreeJointVentureResidentialInvestorBridgeAndTermLoansMember_1d54b420-9f7e-4890-95ed-f3bc13ccab71" xlink:href="rwt-20240930.xsd#rwt_OaktreeJointVentureResidentialInvestorBridgeAndTermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_e6bfead6-669f-42d9-93f7-ac0e13b15da6" xlink:to="loc_rwt_OaktreeJointVentureResidentialInvestorBridgeAndTermLoansMember_1d54b420-9f7e-4890-95ed-f3bc13ccab71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_32418836-6ed1-43ef-b11c-95a1232869e6" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_b27712d4-d653-4cb4-88ff-575d19cf817f" xlink:to="loc_srt_RangeAxis_32418836-6ed1-43ef-b11c-95a1232869e6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_32418836-6ed1-43ef-b11c-95a1232869e6_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_32418836-6ed1-43ef-b11c-95a1232869e6" xlink:to="loc_srt_RangeMember_32418836-6ed1-43ef-b11c-95a1232869e6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0af6057d-d02a-4dfe-82ff-327313d5174a" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_32418836-6ed1-43ef-b11c-95a1232869e6" xlink:to="loc_srt_RangeMember_0af6057d-d02a-4dfe-82ff-327313d5174a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8445be54-57fd-471e-b102-02597032bf70" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0af6057d-d02a-4dfe-82ff-327313d5174a" xlink:to="loc_srt_MinimumMember_8445be54-57fd-471e-b102-02597032bf70" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_fd7fea6f-b7a7-4daa-abda-28c39117b825" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0af6057d-d02a-4dfe-82ff-327313d5174a" xlink:to="loc_srt_MaximumMember_fd7fea6f-b7a7-4daa-abda-28c39117b825" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LesseeNumberOfLeases_4ace925f-b482-4e2b-b39a-6c1958b4c92d" xlink:href="rwt-20240930.xsd#rwt_LesseeNumberOfLeases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_rwt_LesseeNumberOfLeases_4ace925f-b482-4e2b-b39a-6c1958b4c92d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f3af2cc9-df30-4e1a-a468-db3c5cce9e08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_f3af2cc9-df30-4e1a-a468-db3c5cce9e08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_17f2627a-e2f5-439f-a8de-c679a3f55e09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_OperatingLeaseCost_17f2627a-e2f5-439f-a8de-c679a3f55e09" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_LesseeNumberOfOfficeLeases_de5a8b04-a28d-4c2d-9c83-6864671ccc55" xlink:href="rwt-20240930.xsd#rwt_LesseeNumberOfOfficeLeases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_rwt_LesseeNumberOfOfficeLeases_de5a8b04-a28d-4c2d-9c83-6864671ccc55" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_a0a7d463-145d-42af-a880-78f0a44df79d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount_a0a7d463-145d-42af-a880-78f0a44df79d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1_93411904-b8d1-452f-abea-de59fd754ac3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_LesseeOperatingLeaseLeaseNotYetCommencedTermOfContract1_93411904-b8d1-452f-abea-de59fd754ac3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_7cdc3217-f474-4056-a82c-504e9c0c35ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_OperatingLeaseLiability_7cdc3217-f474-4056-a82c-504e9c0c35ae" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList_4e836d70-fbd8-423b-9a9b-f23d733d358b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList_4e836d70-fbd8-423b-9a9b-f23d733d358b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_769b8f1a-f8b8-4d2f-9feb-f293440acaa1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_769b8f1a-f8b8-4d2f-9feb-f293440acaa1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList_97eeb869-08af-4e6f-9058-61fa75956524" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList_97eeb869-08af-4e6f-9058-61fa75956524" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitment_b944cf57-11fb-4f6f-963d-b973bbcccac1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_OtherCommitment_b944cf57-11fb-4f6f-963d-b973bbcccac1" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_b763258a-18d9-4742-8d6f-0d0691de81aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_DerivativeLiabilities_b763258a-18d9-4742-8d6f-0d0691de81aa" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_MarketValuationAdjustmentsNet_9ea98651-046b-4dbc-abe0-a55c91974c32" xlink:href="rwt-20240930.xsd#rwt_MarketValuationAdjustmentsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_rwt_MarketValuationAdjustmentsNet_9ea98651-046b-4dbc-abe0-a55c91974c32" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_EquityMethodInvestmentsCommitmentAmount_d67b8edd-cf53-48d2-ac60-19eceea4f1d0" xlink:href="rwt-20240930.xsd#rwt_EquityMethodInvestmentsCommitmentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_rwt_EquityMethodInvestmentsCommitmentAmount_d67b8edd-cf53-48d2-ac60-19eceea4f1d0" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_46c843e1-2974-42c0-8092-c374cb2f0576" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_a19365c4-c7e7-45a3-a390-e017e0e56a80" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_46c843e1-2974-42c0-8092-c374cb2f0576" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/EquityScheduleofChangestoAccumulatedOtherComprehensiveIncomebyComponentDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#EquityScheduleofChangestoAccumulatedOtherComprehensiveIncomebyComponentDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/EquityScheduleofChangestoAccumulatedOtherComprehensiveIncomebyComponentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_e1930b8d-483e-4ef1-aadb-53fdf3a46925" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_e7c1f15c-9a74-4b76-9e80-5b03dc5588fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_e1930b8d-483e-4ef1-aadb-53fdf3a46925" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_e7c1f15c-9a74-4b76-9e80-5b03dc5588fd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_d2c7cd6d-5846-4ac6-94bb-ce001dde10b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_e7c1f15c-9a74-4b76-9e80-5b03dc5588fd" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_d2c7cd6d-5846-4ac6-94bb-ce001dde10b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_d2c7cd6d-5846-4ac6-94bb-ce001dde10b3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_d2c7cd6d-5846-4ac6-94bb-ce001dde10b3" xlink:to="loc_us-gaap_EquityComponentDomain_d2c7cd6d-5846-4ac6-94bb-ce001dde10b3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0b6d097d-b4a0-40c9-b5a6-354148e2c934" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_d2c7cd6d-5846-4ac6-94bb-ce001dde10b3" xlink:to="loc_us-gaap_EquityComponentDomain_0b6d097d-b4a0-40c9-b5a6-354148e2c934" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_8d5b8cac-d9ec-4814-b4d6-fa7ec7954019" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0b6d097d-b4a0-40c9-b5a6-354148e2c934" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_8d5b8cac-d9ec-4814-b4d6-fa7ec7954019" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_986626c0-aab3-43f8-a0f6-0de995c03006" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0b6d097d-b4a0-40c9-b5a6-354148e2c934" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_986626c0-aab3-43f8-a0f6-0de995c03006" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_2cb7164d-3a6a-4ede-8620-3c1444bc3edc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0b6d097d-b4a0-40c9-b5a6-354148e2c934" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_2cb7164d-3a6a-4ede-8620-3c1444bc3edc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_aebceed6-bb18-42e7-81e5-23da637248ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_e1930b8d-483e-4ef1-aadb-53fdf3a46925" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_aebceed6-bb18-42e7-81e5-23da637248ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_c60d2e63-696a-4e98-b0ab-6c7189666bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_aebceed6-bb18-42e7-81e5-23da637248ac" xlink:to="loc_us-gaap_StockholdersEquity_c60d2e63-696a-4e98-b0ab-6c7189666bd0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_0c188734-82b7-4753-b73a-6b9112323c94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_aebceed6-bb18-42e7-81e5-23da637248ac" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_0c188734-82b7-4753-b73a-6b9112323c94" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_551457fd-ff19-42d7-817a-667be24e8d21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_aebceed6-bb18-42e7-81e5-23da637248ac" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_551457fd-ff19-42d7-817a-667be24e8d21" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2bbcc185-b775-4d59-9bea-33be58700c9c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_aebceed6-bb18-42e7-81e5-23da637248ac" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2bbcc185-b775-4d59-9bea-33be58700c9c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_a8e542aa-241a-4d9f-8689-46ae5d6ecd2f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/EquityScheduleofReclassificationsoutofAccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#EquityScheduleofReclassificationsoutofAccumulatedOtherComprehensiveIncomeLossDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/EquityScheduleofReclassificationsoutofAccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_6a45445a-fd0f-4b72-b39c-31e2b0c1a4eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_57cdeaf8-57df-481c-b8c4-fc9e63b2121d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_6a45445a-fd0f-4b72-b39c-31e2b0c1a4eb" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_57cdeaf8-57df-481c-b8c4-fc9e63b2121d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_9beb2a09-cb16-4d5d-9ba0-f863726264ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_57cdeaf8-57df-481c-b8c4-fc9e63b2121d" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_9beb2a09-cb16-4d5d-9ba0-f863726264ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_9beb2a09-cb16-4d5d-9ba0-f863726264ae_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_9beb2a09-cb16-4d5d-9ba0-f863726264ae" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_9beb2a09-cb16-4d5d-9ba0-f863726264ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_908e7225-f3c9-4424-a552-d76406344147" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_9beb2a09-cb16-4d5d-9ba0-f863726264ae" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_908e7225-f3c9-4424-a552-d76406344147" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_dcbc1410-6f3c-4eb2-b686-d354d7087b75" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_908e7225-f3c9-4424-a552-d76406344147" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_dcbc1410-6f3c-4eb2-b686-d354d7087b75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_fecdb168-d8c2-42d2-9340-8739f8f1e30f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_57cdeaf8-57df-481c-b8c4-fc9e63b2121d" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_fecdb168-d8c2-42d2-9340-8739f8f1e30f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_fecdb168-d8c2-42d2-9340-8739f8f1e30f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_fecdb168-d8c2-42d2-9340-8739f8f1e30f" xlink:to="loc_us-gaap_EquityComponentDomain_fecdb168-d8c2-42d2-9340-8739f8f1e30f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_70f358c0-8c99-4cc6-9a2e-d2fded981994" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_fecdb168-d8c2-42d2-9340-8739f8f1e30f" xlink:to="loc_us-gaap_EquityComponentDomain_70f358c0-8c99-4cc6-9a2e-d2fded981994" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_477acc23-8468-4454-bca4-7ed74d56aca8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_70f358c0-8c99-4cc6-9a2e-d2fded981994" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_477acc23-8468-4454-bca4-7ed74d56aca8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_bd576258-7a0d-4d15-8f3b-b05330280122" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_70f358c0-8c99-4cc6-9a2e-d2fded981994" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_bd576258-7a0d-4d15-8f3b-b05330280122" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_01847ae0-2719-4539-8bad-2ed3f63931c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_6a45445a-fd0f-4b72-b39c-31e2b0c1a4eb" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_01847ae0-2719-4539-8bad-2ed3f63931c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_68a4377c-64cf-447d-b1ae-a1acf612163e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_6a45445a-fd0f-4b72-b39c-31e2b0c1a4eb" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_68a4377c-64cf-447d-b1ae-a1acf612163e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_82ea6bc0-64bf-4505-8f83-c8725a53508d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_6a45445a-fd0f-4b72-b39c-31e2b0c1a4eb" xlink:to="loc_us-gaap_InterestExpense_82ea6bc0-64bf-4505-8f83-c8725a53508d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1e8461e2-fa9d-41b1-aec0-6da99a3d12f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_6a45445a-fd0f-4b72-b39c-31e2b0c1a4eb" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_1e8461e2-fa9d-41b1-aec0-6da99a3d12f1" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/EquityAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#EquityAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/EquityAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:href="rwt-20240930.xsd#rwt_StockholdersEquityNoteLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StockholdersEquityNoteTable_c010e516-db4f-4d38-9d13-a4e4953a53a1" xlink:href="rwt-20240930.xsd#rwt_StockholdersEquityNoteTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_rwt_StockholdersEquityNoteTable_c010e516-db4f-4d38-9d13-a4e4953a53a1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_0e88fe20-7f85-445e-9918-ed35b50289dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rwt_StockholdersEquityNoteTable_c010e516-db4f-4d38-9d13-a4e4953a53a1" xlink:to="loc_us-gaap_PlanNameAxis_0e88fe20-7f85-445e-9918-ed35b50289dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_0e88fe20-7f85-445e-9918-ed35b50289dc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_0e88fe20-7f85-445e-9918-ed35b50289dc" xlink:to="loc_us-gaap_PlanNameDomain_0e88fe20-7f85-445e-9918-ed35b50289dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_087c2750-71d3-4b4b-bf21-c04b332a3c23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_0e88fe20-7f85-445e-9918-ed35b50289dc" xlink:to="loc_us-gaap_PlanNameDomain_087c2750-71d3-4b4b-bf21-c04b332a3c23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_AtTheMarketOfferingsMember_63a42fbd-1a6e-4365-a768-0699b5139671" xlink:href="rwt-20240930.xsd#rwt_AtTheMarketOfferingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_087c2750-71d3-4b4b-bf21-c04b332a3c23" xlink:to="loc_rwt_AtTheMarketOfferingsMember_63a42fbd-1a6e-4365-a768-0699b5139671" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_DirectStockPurchasesAndDividendReinvestmentPlanMember_95338cc6-0ef6-419f-bf72-6f275b6a06bb" xlink:href="rwt-20240930.xsd#rwt_DirectStockPurchasesAndDividendReinvestmentPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_087c2750-71d3-4b4b-bf21-c04b332a3c23" xlink:to="loc_rwt_DirectStockPurchasesAndDividendReinvestmentPlanMember_95338cc6-0ef6-419f-bf72-6f275b6a06bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7e997754-3594-4d91-8d3f-49025def5178" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rwt_StockholdersEquityNoteTable_c010e516-db4f-4d38-9d13-a4e4953a53a1" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7e997754-3594-4d91-8d3f-49025def5178" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7e997754-3594-4d91-8d3f-49025def5178_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7e997754-3594-4d91-8d3f-49025def5178" xlink:to="loc_us-gaap_ClassOfStockDomain_7e997754-3594-4d91-8d3f-49025def5178_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_e4e9a18a-20a5-47a7-ab45-df6f96ce72bb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7e997754-3594-4d91-8d3f-49025def5178" xlink:to="loc_us-gaap_ClassOfStockDomain_e4e9a18a-20a5-47a7-ab45-df6f96ce72bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_d34d942c-96d5-4edc-9252-11ffe56c27be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_e4e9a18a-20a5-47a7-ab45-df6f96ce72bb" xlink:to="loc_us-gaap_CommonStockMember_d34d942c-96d5-4edc-9252-11ffe56c27be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_4a175e08-013d-4685-ae0f-9062df6a1f71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_e4e9a18a-20a5-47a7-ab45-df6f96ce72bb" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_4a175e08-013d-4685-ae0f-9062df6a1f71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_54a03606-1ba1-4c28-8b76-906175b29503" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfWarrantOrRightAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_rwt_StockholdersEquityNoteTable_c010e516-db4f-4d38-9d13-a4e4953a53a1" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_54a03606-1ba1-4c28-8b76-906175b29503" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_54a03606-1ba1-4c28-8b76-906175b29503_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_54a03606-1ba1-4c28-8b76-906175b29503" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_54a03606-1ba1-4c28-8b76-906175b29503_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_a29e74d9-4aa6-481a-8e5d-b109af62604d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_54a03606-1ba1-4c28-8b76-906175b29503" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_a29e74d9-4aa6-481a-8e5d-b109af62604d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FirstTrancheWarrantsMember_c564534d-89be-401f-9204-dc92de20c1a6" xlink:href="rwt-20240930.xsd#rwt_FirstTrancheWarrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_a29e74d9-4aa6-481a-8e5d-b109af62604d" xlink:to="loc_rwt_FirstTrancheWarrantsMember_c564534d-89be-401f-9204-dc92de20c1a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SecondTrancheWarrantsMember_7cdc3a71-3080-4f01-97cf-07990b3af277" xlink:href="rwt-20240930.xsd#rwt_SecondTrancheWarrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_a29e74d9-4aa6-481a-8e5d-b109af62604d" xlink:to="loc_rwt_SecondTrancheWarrantsMember_7cdc3a71-3080-4f01-97cf-07990b3af277" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_4831b025-d0d0-41d4-8ef7-8d87f03eaf2a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_4831b025-d0d0-41d4-8ef7-8d87f03eaf2a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StockIssuanceProgramRemainingAuthorizedIssuanceAmount_87a87513-67a0-424d-b833-1dd57d2ed0be" xlink:href="rwt-20240930.xsd#rwt_StockIssuanceProgramRemainingAuthorizedIssuanceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_rwt_StockIssuanceProgramRemainingAuthorizedIssuanceAmount_87a87513-67a0-424d-b833-1dd57d2ed0be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_e6332aeb-2fd3-4bb8-882e-e366b958d18d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_PreferredStockSharesIssued_e6332aeb-2fd3-4bb8-882e-e366b958d18d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction_90122785-df74-4c38-9a35-6b6aefb76972" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_SaleOfStockPercentageOfOwnershipBeforeTransaction_90122785-df74-4c38-9a35-6b6aefb76972" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_b42e7207-75e3-4e7d-92dd-cb5922825711" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_b42e7207-75e3-4e7d-92dd-cb5922825711" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_ac4428e7-e44e-4680-86f2-12a67607fe15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOrSaleOfEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_ac4428e7-e44e-4680-86f2-12a67607fe15" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage_8bb6323b-711f-4425-9d37-9438f0e8ad76" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockDividendRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_PreferredStockDividendRatePercentage_8bb6323b-711f-4425-9d37-9438f0e8ad76" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockRedemptionPricePerShare_99a30b90-73af-45bd-9835-52f3e1f36f21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockRedemptionPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_PreferredStockRedemptionPricePerShare_99a30b90-73af-45bd-9835-52f3e1f36f21" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_PreferredStockDividendRatePercentageSpreadOnTreasuryRate_1f70b983-e14a-487c-832f-4a1b572c9929" xlink:href="rwt-20240930.xsd#rwt_PreferredStockDividendRatePercentageSpreadOnTreasuryRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_rwt_PreferredStockDividendRatePercentageSpreadOnTreasuryRate_1f70b983-e14a-487c-832f-4a1b572c9929" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsPerShareDeclared_ade2ff71-a786-48d1-b7fa-713f536b1b48" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_PreferredStockDividendsPerShareDeclared_ade2ff71-a786-48d1-b7fa-713f536b1b48" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_6ca993f2-826f-4322-aa93-fd2ff0ff0170" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsPayableCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_DividendsPayableCurrentAndNoncurrent_6ca993f2-826f-4322-aa93-fd2ff0ff0170" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_StockIssuedDuringPeriodSharesDividendReinvestmentAndStockPurchasePlan_040c4bee-abad-48b3-aa84-ea86a21452dc" xlink:href="rwt-20240930.xsd#rwt_StockIssuedDuringPeriodSharesDividendReinvestmentAndStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_rwt_StockIssuedDuringPeriodSharesDividendReinvestmentAndStockPurchasePlan_040c4bee-abad-48b3-aa84-ea86a21452dc" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased_6d6e85e0-32cf-41c5-bb6f-25d510977a23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased_6d6e85e0-32cf-41c5-bb6f-25d510977a23" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_ecc4a250-e1fe-4731-869d-0bf80fb06acc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_ecc4a250-e1fe-4731-869d-0bf80fb06acc" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_52f942c8-d226-466e-9e91-c20392ef9694" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_52f942c8-d226-466e-9e91-c20392ef9694" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_8a8529e6-1697-4637-8e1f-f3f9312ff56f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WarrantsAndRightsOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rwt_StockholdersEquityNoteLineItems_e87289e9-7b4b-455e-b755-aeeb72e1bde4" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_8a8529e6-1697-4637-8e1f-f3f9312ff56f" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/EarningsPerCommonShareAdditionalInformationDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#EarningsPerCommonShareAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/EarningsPerCommonShareAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_af7c3058-b08e-46e2-a919-6075991c4e41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasicLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_2f3980e0-e2db-4ecc-b040-fa7a22c03528" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_af7c3058-b08e-46e2-a919-6075991c4e41" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_2f3980e0-e2db-4ecc-b040-fa7a22c03528" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5189ff99-d4a8-4833-ba8e-6c86c98dad36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_2f3980e0-e2db-4ecc-b040-fa7a22c03528" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5189ff99-d4a8-4833-ba8e-6c86c98dad36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5189ff99-d4a8-4833-ba8e-6c86c98dad36_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5189ff99-d4a8-4833-ba8e-6c86c98dad36" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5189ff99-d4a8-4833-ba8e-6c86c98dad36_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_ed430808-a57d-45bf-a506-a38f8d70f50b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_5189ff99-d4a8-4833-ba8e-6c86c98dad36" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_ed430808-a57d-45bf-a506-a38f8d70f50b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_b55a5770-7f08-4b3b-9899-394fda745cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConvertibleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_ed430808-a57d-45bf-a506-a38f8d70f50b" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_b55a5770-7f08-4b3b-9899-394fda745cd7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockCompensationPlanMember_66673856-89c2-48f2-8322-b2634b019dc8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockCompensationPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_ed430808-a57d-45bf-a506-a38f8d70f50b" xlink:to="loc_us-gaap_StockCompensationPlanMember_66673856-89c2-48f2-8322-b2634b019dc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_a40420cb-04b1-4161-9d6f-ad65d23a0b8e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_af7c3058-b08e-46e2-a919-6075991c4e41" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_a40420cb-04b1-4161-9d6f-ad65d23a0b8e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/GeneralandAdministrativeExpensesDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#GeneralandAdministrativeExpensesDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/GeneralandAdministrativeExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_e390cdab-bc4e-48f8-a600-9ac197aa3f57" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_e390cdab-bc4e-48f8-a600-9ac197aa3f57" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis_0f9de1eb-01d1-4c46-b129-778f7f2eaa5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_e390cdab-bc4e-48f8-a600-9ac197aa3f57" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis_0f9de1eb-01d1-4c46-b129-778f7f2eaa5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain_0f9de1eb-01d1-4c46-b129-778f7f2eaa5b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis_0f9de1eb-01d1-4c46-b129-778f7f2eaa5b" xlink:to="loc_us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain_0f9de1eb-01d1-4c46-b129-778f7f2eaa5b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain_6cba8d25-78e3-4aa2-bf38-0318a753db71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualExcludingShareBasedPaymentsAndPostretirementBenefitsByTypeOfDeferredCompensationAxis_0f9de1eb-01d1-4c46-b129-778f7f2eaa5b" xlink:to="loc_us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain_6cba8d25-78e3-4aa2-bf38-0318a753db71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SettlementInCommonStockMember_fad66477-2b90-442d-b883-0cb394575c51" xlink:href="rwt-20240930.xsd#rwt_SettlementInCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain_6cba8d25-78e3-4aa2-bf38-0318a753db71" xlink:to="loc_rwt_SettlementInCommonStockMember_fad66477-2b90-442d-b883-0cb394575c51" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SettlementInCashMember_45e1ae66-7465-4a63-8ccc-c8253f8b0dc8" xlink:href="rwt-20240930.xsd#rwt_SettlementInCashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredBonusAndProfitSharingArrangementIndividualContractTypeOfDeferredCompensationDomain_6cba8d25-78e3-4aa2-bf38-0318a753db71" xlink:to="loc_rwt_SettlementInCashMember_45e1ae66-7465-4a63-8ccc-c8253f8b0dc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_FixedCompensationExpense_75020e0f-ec5c-44c6-8ffc-6c540067f593" xlink:href="rwt-20240930.xsd#rwt_FixedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_rwt_FixedCompensationExpense_75020e0f-ec5c-44c6-8ffc-6c540067f593" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_6897f8b7-13c3-4238-b0dc-49bf9893451d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_6897f8b7-13c3-4238-b0dc-49bf9893451d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_VariableCompensationExpense_434ba8a8-7b4a-4e87-8831-74c05ebcb8f6" xlink:href="rwt-20240930.xsd#rwt_VariableCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_rwt_VariableCompensationExpense_434ba8a8-7b4a-4e87-8831-74c05ebcb8f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommunicationsAndInformationTechnology_670659a0-6949-44af-bd11-6aa9feba5d36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommunicationsAndInformationTechnology"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_CommunicationsAndInformationTechnology_670659a0-6949-44af-bd11-6aa9feba5d36" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_OfficeCosts_b6c3e84d-6a61-4c67-aefe-1f1426e8fa0c" xlink:href="rwt-20240930.xsd#rwt_OfficeCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_rwt_OfficeCosts_b6c3e84d-6a61-4c67-aefe-1f1426e8fa0c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_27859112-3694-47fe-9434-67db2cf445a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfessionalFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_ProfessionalFees_27859112-3694-47fe-9434-67db2cf445a7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralExpense_34455222-c6b7-4902-a117-55e2bb7f84c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherGeneralExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_OtherGeneralExpense_34455222-c6b7-4902-a117-55e2bb7f84c5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_6acb580b-62f5-4e48-bb3f-f23e56e4910e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_6acb580b-62f5-4e48-bb3f-f23e56e4910e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_6f0b5c0f-2172-43cc-96ce-84f53a82d495" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_6f0b5c0f-2172-43cc-96ce-84f53a82d495" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_216f9b9e-7714-4294-bfe5-19a3fd4c774d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeveranceCosts1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_SeveranceCosts1_216f9b9e-7714-4294-bfe5-19a3fd4c774d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_f34dad25-9b90-4953-8d59-11172412fa06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_29fe50b5-6fa3-4d83-97bb-78f19f24bc7a" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_f34dad25-9b90-4953-8d59-11172412fa06" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.redwoodtrust.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="rwt-20240930.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://www.redwoodtrust.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_066d18f8-67f9-47c3-ade1-6f9cbf56d6d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_ef83d90b-7857-4c61-a1b0-4b1f7875ca7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_066d18f8-67f9-47c3-ade1-6f9cbf56d6d0" xlink:to="loc_us-gaap_SubsequentEventTable_ef83d90b-7857-4c61-a1b0-4b1f7875ca7c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_4025c560-ab43-4172-9238-82a742a4f1c4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_ef83d90b-7857-4c61-a1b0-4b1f7875ca7c" xlink:to="loc_us-gaap_DebtInstrumentAxis_4025c560-ab43-4172-9238-82a742a4f1c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4025c560-ab43-4172-9238-82a742a4f1c4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_4025c560-ab43-4172-9238-82a742a4f1c4" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4025c560-ab43-4172-9238-82a742a4f1c4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a4f762-32f6-4c01-908a-30f649103650" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_4025c560-ab43-4172-9238-82a742a4f1c4" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a4f762-32f6-4c01-908a-30f649103650" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_SevenPointSevenFiveSeniorNotesDueTwentyTwentySevenMember_de2846d9-df78-4de8-8443-19effe36b4a8" xlink:href="rwt-20240930.xsd#rwt_SevenPointSevenFiveSeniorNotesDueTwentyTwentySevenMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_01a4f762-32f6-4c01-908a-30f649103650" xlink:to="loc_rwt_SevenPointSevenFiveSeniorNotesDueTwentyTwentySevenMember_de2846d9-df78-4de8-8443-19effe36b4a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rwt_ExchangeableSeniorNotesDue2027Member_c730d0d7-00d2-4b5f-a798-836fd3d0826b" xlink:href="rwt-20240930.xsd#rwt_ExchangeableSeniorNotesDue2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_01a4f762-32f6-4c01-908a-30f649103650" xlink:to="loc_rwt_ExchangeableSeniorNotesDue2027Member_c730d0d7-00d2-4b5f-a798-836fd3d0826b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_51fb6446-6978-49c3-b2a1-263630c26bb2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_ef83d90b-7857-4c61-a1b0-4b1f7875ca7c" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_51fb6446-6978-49c3-b2a1-263630c26bb2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_51fb6446-6978-49c3-b2a1-263630c26bb2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_51fb6446-6978-49c3-b2a1-263630c26bb2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_51fb6446-6978-49c3-b2a1-263630c26bb2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3a1977cc-0bc6-4792-bfb8-0282a13edb02" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_51fb6446-6978-49c3-b2a1-263630c26bb2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3a1977cc-0bc6-4792-bfb8-0282a13edb02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_35ff5699-101f-4dd8-851c-54078336da1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3a1977cc-0bc6-4792-bfb8-0282a13edb02" xlink:to="loc_us-gaap_ConvertibleDebtMember_35ff5699-101f-4dd8-851c-54078336da1d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_45652ce1-4bee-4093-959c-380e2ce42715" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_ef83d90b-7857-4c61-a1b0-4b1f7875ca7c" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_45652ce1-4bee-4093-959c-380e2ce42715" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_45652ce1-4bee-4093-959c-380e2ce42715_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_45652ce1-4bee-4093-959c-380e2ce42715" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_45652ce1-4bee-4093-959c-380e2ce42715_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_22d844aa-329e-4efa-b94a-3fcc38dba260" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_45652ce1-4bee-4093-959c-380e2ce42715" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_22d844aa-329e-4efa-b94a-3fcc38dba260" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_6024f330-df97-4f32-8469-0be6df40b30e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_22d844aa-329e-4efa-b94a-3fcc38dba260" xlink:to="loc_us-gaap_SubsequentEventMember_6024f330-df97-4f32-8469-0be6df40b30e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_b7e67b81-ad26-40ee-8a5d-254f64696739" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_066d18f8-67f9-47c3-ade1-6f9cbf56d6d0" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_b7e67b81-ad26-40ee-8a5d-254f64696739" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_c94d1b67-bda5-44ad-896e-7ada92950313" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_066d18f8-67f9-47c3-ade1-6f9cbf56d6d0" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_c94d1b67-bda5-44ad-896e-7ada92950313" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_2818eae7-3181-4373-a791-8ba0fe2c45d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_066d18f8-67f9-47c3-ade1-6f9cbf56d6d0" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_2818eae7-3181-4373-a791-8ba0fe2c45d3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_f3944d7e-7c24-4e4d-b1d0-b26e32214f2e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentRepurchasedFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_066d18f8-67f9-47c3-ade1-6f9cbf56d6d0" xlink:to="loc_us-gaap_DebtInstrumentRepurchasedFaceAmount_f3944d7e-7c24-4e4d-b1d0-b26e32214f2e" xlink:type="arc" order="3"/>
  </link:definitionLink>
</link:linkbase>
