<?xml version="1.0" encoding="us-ascii" standalone="yes"?>
<!--XBRL Document Created with XBRLMaster-->
<!--Version: 2.3.08-->
<!--Based on XBRL 2.1-->
<!--Date of creation: 08/13/2026-->
<!--Software architectural design and coding: A'c Dharmapremananda Avt.-->
<!--Copyright (c) 2026 I-NET Business Solutions, Inc. All Rights Reserved.-->
<schema xmlns:us-gaap="http://fasb.org/us-gaap/2025" xmlns:us-gaap-att="http://fasb.org/us-gaap/attributes" xmlns:dei="http://xbrl.sec.gov/dei/2025" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:ref="http://www.xbrl.org/2006/ref" xmlns:currency="http://xbrl.sec.gov/currency/2025" xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31" xmlns:negated="http://www.xbrl.org/2009/role/negated" xmlns:us-types="http://fasb.org/us-types/2025" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:country="http://xbrl.sec.gov/country/2025" xmlns:utr="http://www.xbrl.org/2009/utr" xmlns:srt-types="http://fasb.org/srt-types/2025" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:srt="http://fasb.org/srt/2025" xmlns:ecd="http://xbrl.sec.gov/ecd/2025" xmlns:cyd="http://xbrl.sec.gov/cyd-af-sub/2025" xmlns:ffd="http://xbrl.sec.gov/ffd/2025" xmlns:fmbm="http://fmbm.com/20260630" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://fmbm.com/20260630">
  <annotation>
    <appinfo>
      <link:roleType roleURI="http://fmbm.com/role/Cover" id="Cover">
        <link:definition>000001 - Document - Cover</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/ConsolidatedBalanceSheets" id="ConsolidatedBalanceSheets">
        <link:definition>110200 - Statement - Consolidated Balance Sheets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/ConsolidatedBalanceSheetsParenthetical" id="ConsolidatedBalanceSheetsParenthetical">
        <link:definition>110201 - Statement - Consolidated Balance Sheets (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/ConsolidatedStatementsOfIncomeUnaudited" id="ConsolidatedStatementsOfIncomeUnaudited">
        <link:definition>124100 - Statement - Consolidated Statements of Income (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" id="ConsolidatedStatementsOfComprehensiveIncomeUnaudited">
        <link:definition>148400 - Statement - Consolidated Statements of Comprehensive Income (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" id="ConsolidatedStatementsOfChangesInShareholdersEquityUnaudited">
        <link:definition>148600 - Statement - Consolidated Statements of Changes in Shareholders Equity (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" id="ConsolidatedStatementsOfCashFlowsUnaudited">
        <link:definition>170000 - Statement - Consolidated Statements of Cash Flows (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/InsiderTradingArrangements" id="InsiderTradingArrangements">
        <link:definition>170001 - Disclosure - Insider Trading Arrangements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SummaryOfSignificantAccountingPolicies" id="SummaryOfSignificantAccountingPolicies">
        <link:definition>290000 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SECURITIES" id="SECURITIES">
        <link:definition>330000 - Disclosure - SECURITIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LOANS" id="LOANS">
        <link:definition>330001 - Disclosure - LOANS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLosses" id="AllowanceForCreditLosses">
        <link:definition>330002 - Disclosure - ALLOWANCE FOR CREDIT LOSSES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LEASES" id="LEASES">
        <link:definition>842000 - Disclosure - LEASES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/RegulatoryCapitalMatters" id="RegulatoryCapitalMatters">
        <link:definition>842001 - Disclosure - REGULATORY CAPITAL MATTERS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/FairValueMeasurements" id="FairValueMeasurements">
        <link:definition>842002 - Disclosure - FAIR VALUE MEASUREMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SubsequentEvents" id="SubsequentEvents">
        <link:definition>870000 - Disclosure - SUBSEQUENT EVENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SummaryOfSignificantAccountingPoliciesPolicies" id="SummaryOfSignificantAccountingPoliciesPolicies">
        <link:definition>870001 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SecuritiesTables" id="SecuritiesTables">
        <link:definition>870002 - Disclosure - SECURITIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LoansTables" id="LoansTables">
        <link:definition>870003 - Disclosure - LOANS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesTables" id="AllowanceForCreditLossesTables">
        <link:definition>870004 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LeasesTables" id="LeasesTables">
        <link:definition>870005 - Disclosure - LEASES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/RegulatoryMattersTables" id="RegulatoryMattersTables">
        <link:definition>870006 - Disclosure - REGULATORY MATTERS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/FairValueMeasurementsTables" id="FairValueMeasurementsTables">
        <link:definition>870007 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" id="SummaryOfSignificantAccountingPoliciesDetailsNarrative">
        <link:definition>870008 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SecuritiesDetails" id="SecuritiesDetails">
        <link:definition>870009 - Disclosure - SECURITIES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SecuritiesDetails1" id="SecuritiesDetails1">
        <link:definition>870010 - Disclosure - SECURITIES (Details 1)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SecuritiesDetails2" id="SecuritiesDetails2">
        <link:definition>870011 - Disclosure - SECURITIES (Details 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SecuritiesDetails3" id="SecuritiesDetails3">
        <link:definition>870012 - Disclosure - SECURITIES (Details 3)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/SecuritiesDetailsNarrative" id="SecuritiesDetailsNarrative">
        <link:definition>870013 - Disclosure - SECURITIES (Details Narrative)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LoansDetails" id="LoansDetails">
        <link:definition>870014 - Disclosure - LOANS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LoansDetailsNarrative" id="LoansDetailsNarrative">
        <link:definition>870015 - Disclosure - LOANS (Details Narrative)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetails" id="AllowanceForCreditLossesDetails">
        <link:definition>870016 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetails1" id="AllowanceForCreditLossesDetails1">
        <link:definition>870017 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details 1)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetails2" id="AllowanceForCreditLossesDetails2">
        <link:definition>870018 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetails3" id="AllowanceForCreditLossesDetails3">
        <link:definition>870019 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details 3)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetails4" id="AllowanceForCreditLossesDetails4">
        <link:definition>870020 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details 4)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetails5" id="AllowanceForCreditLossesDetails5">
        <link:definition>870021 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details 5)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetails6" id="AllowanceForCreditLossesDetails6">
        <link:definition>870022 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details 6)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/AllowanceForCreditLossesDetailsNarrative" id="AllowanceForCreditLossesDetailsNarrative">
        <link:definition>870023 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Details Narrative)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LeasesDetails" id="LeasesDetails">
        <link:definition>870024 - Disclosure - LEASES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/LeasesDetails1" id="LeasesDetails1">
        <link:definition>870025 - Disclosure - LEASES (Details 1)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/RegulatoryMattersDetails" id="RegulatoryMattersDetails">
        <link:definition>870026 - Disclosure - REGULATORY MATTERS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/FairValueMeasurementsDetails" id="FairValueMeasurementsDetails">
        <link:definition>870027 - Disclosure - FAIR VALUE MEASUREMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/FairValueMeasurementsDetails1" id="FairValueMeasurementsDetails1">
        <link:definition>870028 - Disclosure - FAIR VALUE MEASUREMENTS (Details 1)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/FairValueMeasurementsDetails2" id="FairValueMeasurementsDetails2">
        <link:definition>870029 - Disclosure - FAIR VALUE MEASUREMENTS (Details 2)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://fmbm.com/role/FairValueMeasurementsDetails3" id="FairValueMeasurementsDetails3">
        <link:definition>870030 - Disclosure - FAIR VALUE MEASUREMENTS (Details 3)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:linkbaseRef xlink:type="simple" xlink:href="fmbm-20260630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
      <link:linkbaseRef xlink:type="simple" xlink:href="fmbm-20260630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
      <link:linkbaseRef xlink:type="simple" xlink:href="fmbm-20260630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
      <link:linkbaseRef xlink:type="simple" xlink:href="fmbm-20260630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" />
    </appinfo>
  </annotation>
  <import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" />
  <import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
  <import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" />
  <import namespace="http://xbrl.sec.gov/country/2025" schemaLocation="https://xbrl.sec.gov/country/2025/country-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/currency/2025" schemaLocation="https://xbrl.sec.gov/currency/2025/currency-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/dei/2025" schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd" />
  <import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/2009/arcrole/fact-explanatoryFact" schemaLocation="http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/2009/role/negated" schemaLocation="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd" />
  <import namespace="http://www.xbrl.org/2009/role/net" schemaLocation="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd" />
  <import namespace="http://fasb.org/srt-types/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd" />
  <import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd" />
  <import namespace="http://fasb.org/us-types/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd" />
  <import namespace="http://fasb.org/srt/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd" />
  <import namespace="http://fasb.org/us-gaap/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd" />
  <import namespace="http://xbrl.sec.gov/ecd/2025" schemaLocation="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd" />
  <element id="fmbm_LoansHeldForInvestmentNetOfDeferredFeesAndCosts" name="LoansHeldForInvestmentNetOfDeferredFeesAndCosts" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AllowanceForCreditLossesOnLoansHeldForInvestment" name="AllowanceForCreditLossesOnLoansHeldForInvestment" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AdditionalPaidInCapitalAttributedToEmployeeCompensationTrust" name="AdditionalPaidInCapitalAttributedToEmployeeCompensationTrust" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_CommonStockSharesHeldInTreasury" name="CommonStockSharesHeldInTreasury" nillable="true" xbrli:periodType="instant" type="num:perShareItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NoninterestIncomeFromServiceChargesOnDeposits" name="NoninterestIncomeFromServiceChargesOnDeposits" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NoninterestIncomeFromWealthManagementIncome" name="NoninterestIncomeFromWealthManagementIncome" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NoninterestIncomeFromLowIncomeHousingPartnershipLosses" name="NoninterestIncomeFromLowIncomeHousingPartnershipLosses" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NoninterestIncomeFromATMAndCheckCardFees" name="NoninterestIncomeFromATMAndCheckCardFees" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NonInterestExpenseATMAndCheckCardFees" name="NonInterestExpenseATMAndCheckCardFees" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NonInterestExpenseDataProcessingExpense" name="NonInterestExpenseDataProcessingExpense" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DividendsOnCommonStock" name="DividendsOnCommonStock" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_VestingOfTimeBasedStockAwardsIssuedAtDateOfGrantNetOfSharesWithheldForPayrollTaxesAmount" name="VestingOfTimeBasedStockAwardsIssuedAtDateOfGrantNetOfSharesWithheldForPayrollTaxesAmount" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DeferredCompensationTrustActivityShares" name="DeferredCompensationTrustActivityShares" nillable="true" xbrli:periodType="duration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DeferredCompensationTrustActivityAmount" name="DeferredCompensationTrustActivityAmount" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AmortizationOfSecurities" name="AmortizationOfSecurities" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LoansHeldForSaleOriginated" name="LoansHeldForSaleOriginated" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GainOnSaleOfLoansHeldForSaleOriginated" name="GainOnSaleOfLoansHeldForSaleOriginated" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AmortizationOfLimitedPartnershipInvestments" name="AmortizationOfLimitedPartnershipInvestments" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ProceedsFromIncomeFromLifeInsuranceInvestment" name="ProceedsFromIncomeFromLifeInsuranceInvestment" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GainLossOnTheSaleOfAssetsHeldForSale" name="GainLossOnTheSaleOfAssetsHeldForSale" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GainOnSaleOfOtherRealStateOwned" name="GainOnSaleOfOtherRealStateOwned" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_PaymentsToAcquireInvestmentsAvailableForSale" name="PaymentsToAcquireInvestmentsAvailableForSale" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_PurchasesOfInvestmentsAvailableForSale" name="PurchasesOfInvestmentsAvailableForSale" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ProceedsFromPaydownsOfMortgageBackedSecurities" name="ProceedsFromPaydownsOfMortgageBackedSecurities" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_PaymentsForProceedsFromRestrictedInvestments" name="PaymentsForProceedsFromRestrictedInvestments" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ProceedsFromSaleOfBearingInsuranceInvestment" name="ProceedsFromSaleOfBearingInsuranceInvestment" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ProceedsFromChangeInDeposits" name="ProceedsFromChangeInDeposits" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_RepurchaseOfSharesForTaxWithholding" name="RepurchaseOfSharesForTaxWithholding" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_IncreaseDecreaseInUnrealizedLossOnSecuritiesAvailableForSaleNetNoncashTransaction" name="IncreaseDecreaseInUnrealizedLossOnSecuritiesAvailableForSaleNetNoncashTransaction" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LeaseOfLesseeDisclosureTextBlock" name="LeaseOfLesseeDisclosureTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_RegulatoryCapitalMattersDisclouserTextBlock" name="RegulatoryCapitalMattersDisclouserTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DebtSecuritiesAvailableForSaleAllowanceForCreditLossPolicyTextBlock" name="DebtSecuritiesAvailableForSaleAllowanceForCreditLossPolicyTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AllowanceForCreditLossesPolicyTextBlock" name="AllowanceForCreditLossesPolicyTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AllowanceForCreditLossesUnfundedCommitmentsPolicyTextBlock" name="AllowanceForCreditLossesUnfundedCommitmentsPolicyTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_BearingInsurancePolicyTextBlock" name="BearingInsurancePolicyTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ScheduleOfAmortizedCostAndFairValueForSecuritiesTableTextBlock" name="ScheduleOfAmortizedCostAndFairValueForSecuritiesTableTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ScheduleOfrealizedLossOnInvestmentsTableTextBlock" name="ScheduleOfrealizedLossOnInvestmentsTableTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_SummarizeOfActivityInvestmentInLoansByCreditQualityIndicatorsTableTextBlock" name="SummarizeOfActivityInvestmentInLoansByCreditQualityIndicatorsTableTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_SummarizeOfActivityInAgingOfTheCompanyLoansTableTextBlock" name="SummarizeOfActivityInAgingOfTheCompanyLoansTableTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_SummarizeOfCompanyNonaccrualLoansTableTextBlock" name="SummarizeOfCompanyNonaccrualLoansTableTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ScheduleOfRecordedInvestmentInCollateralDependentLoansTableTextBlock" name="ScheduleOfRecordedInvestmentInCollateralDependentLoansTableTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ScheduleOfAgingAnalysisOfTheAmortizedCostOfTlmsTableTextBlock" name="ScheduleOfAgingAnalysisOfTheAmortizedCostOfTlmsTableTextBlock" nillable="true" xbrli:periodType="duration" type="nonnum:textBlockItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_PercentageOfSecuritiesPortfolioSold" name="PercentageOfSecuritiesPortfolioSold" nillable="true" xbrli:periodType="duration" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AccruedInterestReceivableOnAvailableForSaleDebtSecurities" name="AccruedInterestReceivableOnAvailableForSaleDebtSecurities" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DescriptionRelatedToNonaccrualLoans" name="DescriptionRelatedToNonaccrualLoans" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DebtSecuritiesAvailableForSale" name="DebtSecuritiesAvailableForSale" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GainLossOnSaleOfDebtSecuritiesNet" name="GainLossOnSaleOfDebtSecuritiesNet" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_WeightedAverageYieldPurchase" name="WeightedAverageYieldPurchase" nillable="true" xbrli:periodType="duration" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GainLossNetPreTax" name="GainLossNetPreTax" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AvailableForSaleSecuritiesAmortizedCosts" name="AvailableForSaleSecuritiesAmortizedCosts" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AvailableForSaleSecuritiesGrossUnrealizedGain" name="AvailableForSaleSecuritiesGrossUnrealizedGain" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AvailableForSaleSecuritiesGrossUnrealizedLosses" name="AvailableForSaleSecuritiesGrossUnrealizedLosses" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AvailableForSaleSecuritiesFairValue" name="AvailableForSaleSecuritiesFairValue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DebtSecuritiesRealizedLoss" name="DebtSecuritiesRealizedLoss" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FairValueOfSecuritiesLessThanTwelveMonths" name="FairValueOfSecuritiesLessThanTwelveMonths" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_UnrealizedLossesOfSecuritiesLessThanTwelveMonths" name="UnrealizedLossesOfSecuritiesLessThanTwelveMonths" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FairValueOfSecuritiesMoreThanTwelveMonths" name="FairValueOfSecuritiesMoreThanTwelveMonths" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_UnrealizedLossesOfSecuritiesMoreThanTwelveMonths" name="UnrealizedLossesOfSecuritiesMoreThanTwelveMonths" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FairValueTotal" name="FairValueTotal" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_UnrealizedLossesOfSecuritiesTotal" name="UnrealizedLossesOfSecuritiesTotal" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_CarryingBasisOfStockInFrb" name="CarryingBasisOfStockInFrb" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ProceedsFromSaleOfAvailableForSaleSecurity" name="ProceedsFromSaleOfAvailableForSaleSecurity" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_WeightedAverageYieldOnSecuritiesSold" name="WeightedAverageYieldOnSecuritiesSold" nillable="true" xbrli:periodType="duration" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_WeightedAverageYieldOnSecuritiesPurchased" name="WeightedAverageYieldOnSecuritiesPurchased" nillable="true" xbrli:periodType="duration" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AvailableForSaleSecuritiesfairvalueofsecuritiesmorethantwelvemonth" name="AvailableForSaleSecuritiesfairvalueofsecuritiesmorethantwelvemonth" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_PledgedSecuritiesDiscountWindow" name="PledgedSecuritiesDiscountWindow" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_CarryingAmountAtReportingDateOfEquityMethodInvestmentsFHLB" name="CarryingAmountAtReportingDateOfEquityMethodInvestmentsFHLB" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_CarryingAmountAtReportingDateOfEquityMethodOtherInvestments" name="CarryingAmountAtReportingDateOfEquityMethodOtherInvestments" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AggregateUnrealizedLossesOfSecuritiesMoreThanTwelveMonth" name="AggregateUnrealizedLossesOfSecuritiesMoreThanTwelveMonth" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LoansHeldForSaleFairValueDisclosures" name="LoansHeldForSaleFairValueDisclosures" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AllowanceForCreditLossesOnLoans" name="AllowanceForCreditLossesOnLoans" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AllowanceForCreditLossesOnLoansChargeOffs" name="AllowanceForCreditLossesOnLoansChargeOffs" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AllowanceForCreditLossesOnLoansRecoveries" name="AllowanceForCreditLossesOnLoansRecoveries" nillable="true" xbrli:balance="credit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ProvisionForLoanLosses" name="ProvisionForLoanLosses" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LongTermInvestmentsTotal" name="LongTermInvestmentsTotal" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FinancingReceivableOriginatedInCurrentFiscalYear2024" name="FinancingReceivableOriginatedInCurrentFiscalYear2024" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FinancingReceivable" name="FinancingReceivable" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYears" name="FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYears" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DeferredLoanFeesNetOfCostsThirtyToFiftyNineDaysPastDue" name="DeferredLoanFeesNetOfCostsThirtyToFiftyNineDaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DeferredLoanFeesNetOfCostsSixtyToEnghtyNineDaysPastDue" name="DeferredLoanFeesNetOfCostsSixtyToEnghtyNineDaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DeferredLoanFeesNetOfCostsGreaterThanNinetyDays" name="DeferredLoanFeesNetOfCostsGreaterThanNinetyDays" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_DeferredLoanFeesNetOfCostsNonAccruelLoans" name="DeferredLoanFeesNetOfCostsNonAccruelLoans" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LessDeferredLoanFeesNetOfCostsCurrent" name="LessDeferredLoanFeesNetOfCostsCurrent" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LessDeferredLoanFeesNetOfCostsAggregateLoanReceivable" name="LessDeferredLoanFeesNetOfCostsAggregateLoanReceivable" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GrossLoansNetOfCosts3059DaysPastDue" name="GrossLoansNetOfCosts3059DaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GrossLoansNetOfCosts6089DaysPastDue" name="GrossLoansNetOfCosts6089DaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GrossLoansNetOfCostsGreaterThan90Days" name="GrossLoansNetOfCostsGreaterThan90Days" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GrossLoansNetOfCostsNonAccruelLoans" name="GrossLoansNetOfCostsNonAccruelLoans" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GrossLoansNetOfCostsCurrent" name="GrossLoansNetOfCostsCurrent" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GrossLoansNetOfCostsTotalLoanReceivable" name="GrossLoansNetOfCostsTotalLoanReceivable" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ThirtyToFiftyDaysPastDue" name="ThirtyToFiftyDaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_SixtyToEightyNineDaysPastDue" name="SixtyToEightyNineDaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GreaterThanNintyDays" name="GreaterThanNintyDays" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LoanReceivableNet" name="LoanReceivableNet" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ThirtyFiftyNineDaysPastDue" name="ThirtyFiftyNineDaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_SixZeroEightNineDaysPastDue" name="SixZeroEightNineDaysPastDue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GreaterThan90Days" name="GreaterThan90Days" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_TotalLoanReceivable" name="TotalLoanReceivable" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FinancingReceivableNonaccrualWithAllowance" name="FinancingReceivableNonaccrualWithAllowance" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FinancingReceivableRecordedInvestmentsNonaccrualStatus" name="FinancingReceivableRecordedInvestmentsNonaccrualStatus" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AmortizationCostOnRestructuringOfDebtNetCurrent" name="AmortizationCostOnRestructuringOfDebtNetCurrent" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ThirtyToEightyDaysPastDueOfAmortizationCostOnRestructuringOfDebt" name="ThirtyToEightyDaysPastDueOfAmortizationCostOnRestructuringOfDebt" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_GreaterThanNintyDaysOfAmortizationCostOnRestructuringOfDebt" name="GreaterThanNintyDaysOfAmortizationCostOnRestructuringOfDebt" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AmortizationCostOnRestructuringOfDebtRecordedInvestmentNonaccrualStatus" name="AmortizationCostOnRestructuringOfDebtRecordedInvestmentNonaccrualStatus" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AmortizationCostOnRestructuringOfDebt" name="AmortizationCostOnRestructuringOfDebt" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NumberOfLoans" name="NumberOfLoans" nillable="true" xbrli:periodType="duration" type="xbrli:integerItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_PercentageOfAmortizedCostToGrossLoansByCategory" name="PercentageOfAmortizedCostToGrossLoansByCategory" nillable="true" xbrli:periodType="duration" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_WeightedAverageRemainingLeaseTerm" name="WeightedAverageRemainingLeaseTerm" nillable="true" xbrli:periodType="duration" type="xbrli:durationItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LeaseLiabilityMeasurementRelatedCashPayments" name="LeaseLiabilityMeasurementRelatedCashPayments" nillable="true" xbrli:balance="debit" xbrli:periodType="duration" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_BankActualCapitalAmount" name="BankActualCapitalAmount" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_BankActualCapitalRatio" name="BankActualCapitalRatio" nillable="true" xbrli:periodType="instant" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_MinimumCapitalRequirementAmount" name="MinimumCapitalRequirementAmount" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_MinimumCapitalRequirementRatio" name="MinimumCapitalRequirementRatio" nillable="true" xbrli:periodType="instant" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_MinimumToBeWellCapitalizedUnderPromptCorrectiveActionProvisionsAmount" name="MinimumToBeWellCapitalizedUnderPromptCorrectiveActionProvisionsAmount" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_MinimumToBeWellCapitalizedUnderPromptCorrectiveActionProvisionsRatio" name="MinimumToBeWellCapitalizedUnderPromptCorrectiveActionProvisionsRatio" nillable="true" xbrli:periodType="instant" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_FinancialInstrumentsOwnedUSGovernmentAndTreasuryObligationsAtFairValue" name="FinancialInstrumentsOwnedUSGovernmentAndTreasuryObligationsAtFairValue" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LoansHeldForSaleCurrent" name="LoansHeldForSaleCurrent" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_IRLCCurrentValue" name="IRLCCurrentValue" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ForwardSalesCommitments" name="ForwardSalesCommitments" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_OtherAssetsFairValue" name="OtherAssetsFairValue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AssetsAtFairValue" name="AssetsAtFairValue" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_CollateralDependentLoansSellingCosts" name="CollateralDependentLoansSellingCosts" nillable="true" xbrli:periodType="instant" type="num:percentItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_LoansHeldrSale" name="LoansHeldrSale" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_IRLCAmount" name="IRLCAmount" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ForwardsSalesCommitments" name="ForwardsSalesCommitments" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_NoninterestDemandDeposits" name="NoninterestDemandDeposits" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_InterestCheckingDeposits" name="InterestCheckingDeposits" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_TimeDepositsTotalFairValueBalance" name="TimeDepositsTotalFairValueBalance" nillable="true" xbrli:balance="credit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_ForwardSalesCommitments89" name="ForwardSalesCommitments89" nillable="true" xbrli:balance="debit" xbrli:periodType="instant" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_InsiderTradingArragementsAbstract" name="InsiderTradingArragementsAbstract" nillable="true" abstract="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
  <element id="fmbm_AllowanceForCreditLossesAbstract" name="AllowanceForCreditLossesAbstract" nillable="true" abstract="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
  <element name="USTreasuriesMember" id="fmbm_USTreasuriesMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="USGovernmentSponsoredEnterprisesMember" id="fmbm_USGovernmentSponsoredEnterprisesMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="MortgageBackedObligationsOfFederalAgenciesMember" id="fmbm_MortgageBackedObligationsOfFederalAgenciesMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="CorporateDebtSecurityMember" id="fmbm_CorporateDebtSecurityMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="SecuritiesAvailableforSaleMember" id="fmbm_SecuritiesAvailableforSaleMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OneFourFamilyResidentialConstructionMember" id="fmbm_OneFourFamilyResidentialConstructionMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OtherConstructionLandDevelopmentAndLandMember" id="fmbm_OtherConstructionLandDevelopmentAndLandMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="SecuredByFarmlandMember" id="fmbm_SecuredByFarmlandMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OtherConsumerLoansMember" id="fmbm_OtherConsumerLoansMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OtherCommercialRealEstateMember" id="fmbm_OtherCommercialRealEstateMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="MultiFamilyMember" id="fmbm_MultiFamilyMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="DeferredCompensationTrustMember" id="fmbm_DeferredCompensationTrustMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="CurrentPeriodGrossWriteOffsMember" id="fmbm_CurrentPeriodGrossWriteOffsMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OccupiedCommercialRealEstateMember" id="fmbm_OccupiedCommercialRealEstateMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="HomeEquityClosedEndMember" id="fmbm_HomeEquityClosedEndMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="AgriculturalLoansMember" id="fmbm_AgriculturalLoansMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="CommercialAndIndustrialMember" id="fmbm_CommercialAndIndustrialMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="AutomobileLoansMember" id="fmbm_AutomobileLoansMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="HomeEquityOpenEndMember" id="fmbm_HomeEquityOpenEndMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="MunicipalLoansMember" id="fmbm_MunicipalLoansMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="ConstructionLandDevelopmentsMember" id="fmbm_ConstructionLandDevelopmentsMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="FarmlandMember" id="fmbm_FarmlandMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="HomeEquitiesOpenEndMember" id="fmbm_HomeEquitiesOpenEndMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="HomeEquitiesClosedEndMember" id="fmbm_HomeEquitiesClosedEndMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="TotalMember" id="fmbm_TotalMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OneToFourFamilyResidentialConstructionMember" id="fmbm_OneToFourFamilyResidentialConstructionMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OwnerOccupiedMember" id="fmbm_OwnerOccupiedMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="ConstructionLandDevelopmentOtherMember" id="fmbm_ConstructionLandDevelopmentOtherMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="CommercialIndustrialMember" id="fmbm_CommercialIndustrialMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OtherConsumersLoansMember" id="fmbm_OtherConsumersLoansMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OccupiedCommercialRealEstatesMember" id="fmbm_OccupiedCommercialRealEstatesMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="TermExtensionAndDeferralMember" id="fmbm_TermExtensionAndDeferralMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="TotalOtherThanTemporaryPaymentDelayMember" id="fmbm_TotalOtherThanTemporaryPaymentDelayMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="WatchMember" id="fmbm_WatchMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="ConstructionAndLandMember" id="fmbm_ConstructionAndLandMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="AutomobileloansMember" id="fmbm_AutomobileloansMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="ConstructionLandMember" id="fmbm_ConstructionLandMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="LongTermLeaseAgreementsMember" id="fmbm_LongTermLeaseAgreementsMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="TotalriskbasedratioMember" id="fmbm_TotalriskbasedratioMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="TierOneRiskBasedRatioMember" id="fmbm_TierOneRiskBasedRatioMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="CommonEquityTierOneMember" id="fmbm_CommonEquityTierOneMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="TotalAssetsLeverageRatioMember" id="fmbm_TotalAssetsLeverageRatioMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="BottomMember" id="fmbm_BottomMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="TopMember" id="fmbm_TopMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="CarryingAmountMember" id="fmbm_CarryingAmountMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OwnerOccupiedCommercialRealEstateMember" id="fmbm_OwnerOccupiedCommercialRealEstateMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="OwnerOccupiedCommercialRealEstatePortfolioSegmentMember" id="fmbm_OwnerOccupiedCommercialRealEstatePortfolioSegmentMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="UnfundedCommitmentsMember" id="fmbm_UnfundedCommitmentsMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
  <element name="MunicipalSecuritiesMember" id="fmbm_MunicipalSecuritiesMember" nillable="true" xbrli:periodType="duration" type="nonnum:domainItemType" substitutionGroup="xbrli:item" />
</schema>
